From 5c196be3cfa172ca521ced0cf5d9b7d0acec5b83 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 26 Jan 2021 18:48:25 +0100 Subject: Fixed bug in csmap_clear() and in map benchmarks2's. Set picobench output default to concise_text. --- benchmarks/cmap_benchmark2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmarks/cmap_benchmark2.cpp') diff --git a/benchmarks/cmap_benchmark2.cpp b/benchmarks/cmap_benchmark2.cpp index 54d6e7d9..cda8c15b 100644 --- a/benchmarks/cmap_benchmark2.cpp +++ b/benchmarks/cmap_benchmark2.cpp @@ -123,8 +123,8 @@ static void ins_and_erase_cmap_i(picobench::state& s) stc64_srandom(seed); c_forrange (s.iterations()) cmap_i_erase(&map, stc64_random()); - cmap_i_del(&map); s.set_result(cmap_i_size(map)); + cmap_i_del(&map); } #define P samples(S1).iterations({N1/4}) -- cgit v1.2.3