Skip to content

Effect of optimistic_lock::try_read_lock testing once in the straight path

Laurynas Biveinis edited this page Oct 13, 2021 · 6 revisions

baseline commit, patch

All tests filtered for unodb::olc_db.

  • micro_benchmark_key_prefix: 2% slowdown (unpredictable_get_shared_length) to 2% speedup (unpredictable_cut_key_prefix)
  • micro_benchmark_n4: 2% slowdown (full_n4_random_deletes/100) to 6% speedup (full_n4_sequential_insert/32768)
  • micro_benchmark_n16: 9% slowdown (grow_n4_to_n16_randomly/20) to 2% speedup (shrink_n48_to_n16_randomly/16383)
  • micro_benchmark_n48:
  • micro_benchmark_n256:

TODO perf stat branch rate

Clone this wiki locally