The joy of horribly biased benchmarks

Published June 28, 2004
Advertisement
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.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

New bug to me

1910 views

Week/Class 9

1740 views

Week/Class 8

1788 views

Week/Class 7

1835 views

The promised files

2115 views

Week/Class 6

1518 views

Week/Session 5

1578 views

Week/Session 4

1519 views

On the soapbox

1636 views

Week/Session 3

1493 views
Advertisement