-
Notifications
You must be signed in to change notification settings - Fork 0
/
map_pmr_order.txt
42 lines (42 loc) · 3.17 KB
/
map_pmr_order.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-16T17:47:56+08:00
Running ./bin/map_pmr_order
Run on (16 X 3417.59 MHz CPU s)
CPU Caches:
L1 Data 48 KiB (x16)
L1 Instruction 32 KiB (x16)
L2 Unified 2048 KiB (x16)
L3 Unified 30720 KiB (x1)
Load Average: 4.01, 3.99, 3.06
-----------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
-----------------------------------------------------------------------------------------
BM_Insert<std::map<int, int>>/1024 32412 ns 32413 ns 22147
BM_Insert<std::map<int, int>>/4096 159258 ns 159257 ns 4386
BM_Insert<std::map<int, int>>/32768 1729942 ns 1729923 ns 422
BM_Insert<std::map<int, int>>/262144 22100727 ns 22100180 ns 28
BM_Insert<std::map<int, int>>/1048576 154290939 ns 154289275 ns 4
BM_PMR_Insert<std::pmr::map<int, int>>/1024 29065 ns 29065 ns 23798
BM_PMR_Insert<std::pmr::map<int, int>>/4096 139768 ns 139769 ns 5209
BM_PMR_Insert<std::pmr::map<int, int>>/32768 1440068 ns 1440062 ns 505
BM_PMR_Insert<std::pmr::map<int, int>>/262144 18732750 ns 18732599 ns 38
BM_PMR_Insert<std::pmr::map<int, int>>/1048576 101306400 ns 101295663 ns 8
BM_Range<std::map<int, int>>/1024 2522 ns 2522 ns 238968
BM_Range<std::map<int, int>>/4096 13642 ns 13642 ns 51945
BM_Range<std::map<int, int>>/32768 98626 ns 98627 ns 5855
BM_Range<std::map<int, int>>/262144 1213231 ns 1213235 ns 658
BM_Range<std::map<int, int>>/1048576 9019156 ns 9019109 ns 130
BM_PMR_Range<std::pmr::map<int, int>>/1024 2310 ns 2310 ns 304382
BM_PMR_Range<std::pmr::map<int, int>>/4096 10127 ns 10127 ns 73997
BM_PMR_Range<std::pmr::map<int, int>>/32768 83585 ns 83585 ns 8438
BM_PMR_Range<std::pmr::map<int, int>>/262144 885651 ns 885650 ns 902
BM_PMR_Range<std::pmr::map<int, int>>/1048576 4348094 ns 4348034 ns 154
BM_Find<std::map<int, int>>/1024 23.4 ns 23.4 ns 28539415
BM_Find<std::map<int, int>>/4096 41.7 ns 41.7 ns 12856990
BM_Find<std::map<int, int>>/32768 47.5 ns 47.5 ns 14680661
BM_Find<std::map<int, int>>/262144 155 ns 155 ns 3462887
BM_Find<std::map<int, int>>/1048576 321 ns 321 ns 2200159
BM_PMR_Find<std::pmr::map<int, int>>/1024 22.7 ns 22.7 ns 32604023
BM_PMR_Find<std::pmr::map<int, int>>/4096 31.2 ns 31.2 ns 21232363
BM_PMR_Find<std::pmr::map<int, int>>/32768 45.0 ns 45.0 ns 15681911
BM_PMR_Find<std::pmr::map<int, int>>/262144 113 ns 113 ns 5563145
BM_PMR_Find<std::pmr::map<int, int>>/1048576 316 ns 316 ns 2280221