From a1c156cec10c6b36cdd8d5948581b33fb9b0ae03 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 8 Mar 2022 02:37:13 +0200 Subject: [PATCH] Rearrange and comment out the non-FNV-1a tests in string.cpp --- benchmark/string.cpp | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/benchmark/string.cpp b/benchmark/string.cpp index d507a2fe..a069a7be 100644 --- a/benchmark/string.cpp +++ b/benchmark/string.cpp @@ -369,21 +369,28 @@ int main() { init_indices(); - test( "std::unordered_map" ); - test( "std::unordered_map, FNV-1a" ); - test( "boost::unordered_map" ); - test( "boost::unordered_map, FNV-1a" ); - test( "multi_index_map" ); - test( "multi_index_map, FNV-1a" ); +#if 0 - // test( "std::map" ); + test( "std::unordered_map" ); + test( "boost::unordered_map" ); + test( "multi_index_map" ); #ifdef HAVE_ABSEIL test( "absl::node_hash_map" ); - test( "absl::node_hash_map, FNV-1a" ); - test( "absl::flat_hash_map" ); + +#endif + +#endif + + test( "std::unordered_map, FNV-1a" ); + test( "boost::unordered_map, FNV-1a" ); + test( "multi_index_map, FNV-1a" ); + +#ifdef HAVE_ABSEIL + + test( "absl::node_hash_map, FNV-1a" ); test( "absl::flat_hash_map, FNV-1a" ); #endif