Skip to content

Instantly share code, notes, and snippets.

@mnem
Created September 27, 2012 23:53
Show Gist options
  • Save mnem/3797163 to your computer and use it in GitHub Desktop.
Save mnem/3797163 to your computer and use it in GitHub Desktop.
Hmm.
Generating tests.
Running each test 10000 times.
Running: UTHash test add
########################################
Running: Boost hash test add
########################################
Running: Std::map hash test add
########################################
Results:
--=[ UTHash test add ]=--
Valid runs: 10000
Average : 177 (0.000177s)
Minimum : 173 (0.000173s)
Maximum : 274 (0.000274s)
--=[ Boost hash test add ]=--
Valid runs: 10000
Average : 890 (0.000890s)
Minimum : 878 (0.000878s)
Maximum : 1232 (0.001232s)
--=[ Std::map hash test add ]=--
Valid runs: 10000
Average : 725 (0.000725s)
Minimum : 717 (0.000717s)
Maximum : 845 (0.000845s)
Tidying up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment