Effect of annotating pmr_allocate with __attribute__((malloc,returns_nonnull)) - laurynas-biveinis/unodb GitHub Wiki
baseline commit, patch
-
micro_benchmark_node4 --benchmark_filter=insert.*unodb::db
: 2% slowdown (minimal_node4_random_insert<unodb::db>/64
) to 0%
-
micro_benchmark_node16 --benchmark_filter=(grow|add).*unodb::db
: 1% slowdown (grow_node4_to_node16_randomly<unodb::db>/20
) to 10% speedup (node16_sequential_add<unodb::db>/16383
)
-
micro_benchmark_node48 --benchmark_filter=(grow|add).*unodb::db
: 1% slowdown (grow_node16_to_node48_randomly<unodb::db>/8
) to 2% speedup (grow_node16_to_node48_sequentially<unodb::db>/4096
)
-
micro_benchmark_node256 --benchmark_filter=(grow|add).*unodb::db
: 3% slowdown (node256_sequential_add<unodb::db>/512
) to 6% speedup (grow_node48_to_node256_sequentially<unodb::db>/512
)
⚠️ **GitHub.com Fallback** ⚠️