From 8889837da535b1164d0fc52e8afeb671ad993b32 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Mon, 13 Apr 2026 16:44:23 +0200 Subject: fix file naming --- benches/tidwall_bench.cpp | 85 ----------------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 benches/tidwall_bench.cpp (limited to 'benches/tidwall_bench.cpp') diff --git a/benches/tidwall_bench.cpp b/benches/tidwall_bench.cpp deleted file mode 100644 index 7780876..0000000 --- a/benches/tidwall_bench.cpp +++ /dev/null @@ -1,85 +0,0 @@ -#include - -#include "bench_common.hpp" - -namespace { - -using namespace cmbench; - -static void BM_Insert_Scalar(benchmark::State& state) { - bench_insert>( - state, scalar_workload(), {"tidwall_hashmap", "c", "Scalar", "Insert"}); -} -static void BM_LookupHit_Scalar(benchmark::State& state) { - bench_lookup_hit>( - state, scalar_workload(), - {"tidwall_hashmap", "c", "Scalar", "LookupHit"}); -} -static void BM_LookupMiss_Scalar(benchmark::State& state) { - bench_lookup_miss>( - state, scalar_workload(), - {"tidwall_hashmap", "c", "Scalar", "LookupMiss"}); -} -static void BM_Erase_Scalar(benchmark::State& state) { - bench_erase>( - state, scalar_workload(), {"tidwall_hashmap", "c", "Scalar", "Erase"}); -} - -static void BM_Insert_HandlePayload(benchmark::State& state) { - bench_insert>( - state, entity_workload(), - {"tidwall_hashmap", "c", "HandlePayload", "Insert"}); -} -static void BM_LookupHit_HandlePayload(benchmark::State& state) { - bench_lookup_hit>( - state, entity_workload(), - {"tidwall_hashmap", "c", "HandlePayload", "LookupHit"}); -} -static void BM_LookupMiss_HandlePayload(benchmark::State& state) { - bench_lookup_miss>( - state, entity_workload(), - {"tidwall_hashmap", "c", "HandlePayload", "LookupMiss"}); -} -static void BM_Erase_HandlePayload(benchmark::State& state) { - bench_erase>( - state, entity_workload(), - {"tidwall_hashmap", "c", "HandlePayload", "Erase"}); -} - -static void BM_Insert_CompositeKey(benchmark::State& state) { - bench_insert>( - state, component_workload(), - {"tidwall_hashmap", "c", "CompositeKey", "Insert"}); -} -static void BM_LookupHit_CompositeKey(benchmark::State& state) { - bench_lookup_hit>( - state, component_workload(), - {"tidwall_hashmap", "c", "CompositeKey", "LookupHit"}); -} -static void BM_LookupMiss_CompositeKey(benchmark::State& state) { - bench_lookup_miss>( - state, component_workload(), - {"tidwall_hashmap", "c", "CompositeKey", "LookupMiss"}); -} -static void BM_Erase_CompositeKey(benchmark::State& state) { - bench_erase>( - state, component_workload(), - {"tidwall_hashmap", "c", "CompositeKey", "Erase"}); -} - -} // namespace - -BENCHMARK(BM_Insert_Scalar); -BENCHMARK(BM_LookupHit_Scalar); -BENCHMARK(BM_LookupMiss_Scalar); -BENCHMARK(BM_Erase_Scalar); - -BENCHMARK(BM_Insert_HandlePayload); -BENCHMARK(BM_LookupHit_HandlePayload); -BENCHMARK(BM_LookupMiss_HandlePayload); -BENCHMARK(BM_Erase_HandlePayload); - -BENCHMARK(BM_Insert_CompositeKey); -BENCHMARK(BM_LookupHit_CompositeKey); -BENCHMARK(BM_LookupMiss_CompositeKey); -BENCHMARK(BM_Erase_CompositeKey); -- cgit v1.2.3