Skip to content

Instantly share code, notes, and snippets.

@thejefflarson
Created January 11, 2013 16:16
Show Gist options
  • Save thejefflarson/4511894 to your computer and use it in GitHub Desktop.
Save thejefflarson/4511894 to your computer and use it in GitHub Desktop.
With queue optimizations (1.9.3):
benchmarks 1 10 100 1000 10000
bench_inserting_keys 0.000032 0.000026 0.000122 0.001285 0.059764
bench_keys_with_sync 0.000255 0.000853 0.006070 0.060688 0.663408
bench_reading_keys 0.000026 0.000044 0.000223 0.001935 0.022019
Without:
benchmarks 1 10 100 1000 10000
bench_inserting_keys 0.000028 0.000023 0.000127 0.001295 0.059206
bench_keys_with_sync 0.000194 0.000707 0.006569 0.076458 0.662060
bench_reading_keys 0.000024 0.000045 0.000250 0.002069 0.020803
With (1.8.7):
bench_inserting_keys 0.000102 0.000116 0.000240 0.003959 0.272607
bench_keys_with_sync 0.000195 0.001026 0.009320 0.097578 1.052410
bench_reading_keys 0.000035 0.000113 0.000809 0.011227 0.252671
without:
bench_inserting_keys 0.000188 0.000128 0.000250 0.004201 0.271954
bench_keys_with_sync 0.000214 0.001306 0.012507 0.123098 1.339768
bench_reading_keys 0.000036 0.000108 0.000758 0.010561 0.258597
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment