-
Notifications
You must be signed in to change notification settings - Fork 0
/
adt_map_find_hetero.txt
20 lines (20 loc) · 1.33 KB
/
adt_map_find_hetero.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2023-06-11T21:28:05+08:00
Running ./bin/adt_map_find_hetero
Run on (8 X 2904 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x8)
L1 Instruction 32 KiB (x8)
L2 Unified 256 KiB (x8)
L3 Unified 16384 KiB (x1)
Load Average: 0.41, 3.15, 2.14
----------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------------------------------------------
BenchStringMapSSO<std::map<std::string, int>> 377 ns 378 ns 1779389
BenchStringMapSSO<std::unordered_map<std::string, int>> 94.9 ns 94.8 ns 5886142
BenchStringMapSSO<llvm::DenseMap<llvm::StringRef, int>> 42.2 ns 42.1 ns 17000652
BenchStringMapSSO<llvm::StringMap<int>> 46.6 ns 46.6 ns 16702146
BenchStringMapNoSSO<std::map<std::string, int>> 1079 ns 1076 ns 628249
BenchStringMapNoSSO<std::unordered_map<std::string, int>> 284 ns 283 ns 2431112
BenchStringMapNoSSO<llvm::DenseMap<llvm::StringRef, int>> 129 ns 128 ns 5687707
BenchStringMapNoSSO<llvm::StringMap<int>> 203 ns 202 ns 3534372