Terraria item ID 3119. Terraria 1.4.5.7.
The DPS Meter is an informational accessory that displays the DPS of the weapon that last dealt damage to any entity, including enemies, critters, NPCs, Target Dummies, and other players. The DPS Meter can be purchased from the Traveling Merchant for 5 Gold.
Description from the Terraria Wiki.