-
Notifications
You must be signed in to change notification settings - Fork 0
/
map_pmr_unorder.txt
42 lines (42 loc) · 3.52 KB
/
map_pmr_unorder.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
2023-06-11T21:33:51+08:00
Running ./bin/map_pmr_unorder
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: 4.28, 4.64, 3.21
----------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------------------------------------------
BM_reserve<std::unordered_map<int, int>>/1024 36627 ns 36488 ns 20106
BM_reserve<std::unordered_map<int, int>>/4096 143683 ns 143091 ns 4564
BM_reserve<std::unordered_map<int, int>>/32768 1161638 ns 1156522 ns 585
BM_reserve<std::unordered_map<int, int>>/262144 11595800 ns 11540861 ns 65
BM_reserve<std::unordered_map<int, int>>/1048576 41803255 ns 41594149 ns 16
BM_PMR_reserve<std::pmr::unordered_map<int, int>>/1024 17395 ns 17304 ns 43985
BM_PMR_reserve<std::pmr::unordered_map<int, int>>/4096 66475 ns 66111 ns 8926
BM_PMR_reserve<std::pmr::unordered_map<int, int>>/32768 544230 ns 541199 ns 1399
BM_PMR_reserve<std::pmr::unordered_map<int, int>>/262144 4558643 ns 4532240 ns 167
BM_PMR_reserve<std::pmr::unordered_map<int, int>>/1048576 18810785 ns 18698702 ns 39
BM_Range<std::unordered_map<int, int>>/1024 1207 ns 1199 ns 584332
BM_Range<std::unordered_map<int, int>>/4096 5843 ns 5807 ns 119846
BM_Range<std::unordered_map<int, int>>/32768 60585 ns 60200 ns 11453
BM_Range<std::unordered_map<int, int>>/262144 615432 ns 611558 ns 1058
BM_Range<std::unordered_map<int, int>>/1048576 4095490 ns 4069348 ns 189
BM_PMR_Range<std::pmr::unordered_map<int, int>>/1024 1042 ns 1035 ns 659017
BM_PMR_Range<std::pmr::unordered_map<int, int>>/4096 4799 ns 4801 ns 161898
BM_PMR_Range<std::pmr::unordered_map<int, int>>/32768 40019 ns 40820 ns 17370
BM_PMR_Range<std::pmr::unordered_map<int, int>>/262144 358097 ns 363838 ns 1995
BM_PMR_Range<std::pmr::unordered_map<int, int>>/1048576 1970926 ns 1996566 ns 353
BM_Find<std::unordered_map<int, int>>/1024 27.2 ns 27.5 ns 22798467
BM_Find<std::unordered_map<int, int>>/4096 28.5 ns 28.7 ns 23736804
BM_Find<std::unordered_map<int, int>>/32768 41.1 ns 41.4 ns 16975708
BM_Find<std::unordered_map<int, int>>/262144 78.8 ns 79.1 ns 10898893
BM_Find<std::unordered_map<int, int>>/1048576 147 ns 147 ns 4480455
BM_PMR_Find<std::pmr::unordered_map<int, int>>/1024 25.1 ns 25.1 ns 26481291
BM_PMR_Find<std::pmr::unordered_map<int, int>>/4096 25.6 ns 25.5 ns 27630262
BM_PMR_Find<std::pmr::unordered_map<int, int>>/32768 37.6 ns 37.5 ns 18850490
BM_PMR_Find<std::pmr::unordered_map<int, int>>/262144 67.2 ns 67.0 ns 9423550
BM_PMR_Find<std::pmr::unordered_map<int, int>>/1048576 118 ns 117 ns 5598439