Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

The joy of horribly biased benchmarks

Sign in to follow this  


I was a bum and did almost nothing today. Well, I did some moderating stuff, but who cares about that? But I'm updating my journal anyways, basically just to bump it so that I can tell at a glance if any of the other developer journals have been updated when I next visit.

Actually, I did one vaguely productive thing: I finally got around to testing that the sortable_string class performed better than std::string when used as a key in a binary tree. On one horribly biased benchmark for std::set::find that does not accurately represent any reasonable input set, sortable_string performed about 3100 times better than the std::string implementation that ships with MSVC 7.1. Of course, that doesn't prove anything except that I know how to skew a test. More reasonable benchmarks slim that number down a bit.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!