-
Notifications
You must be signed in to change notification settings - Fork 0
/
list_pmr.txt
54 lines (54 loc) · 5.63 KB
/
list_pmr.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
43
44
45
46
47
48
49
50
51
52
53
54
2023-06-11T21:39:36+08:00
Running ./bin/list_pmr
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.02, 4.21, 3.48
-------------------------------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------------------------------------------------------
BenchListInsert<std::list<int>>/1 12.3 ns 12.3 ns 53347832
BenchListInsert<std::list<int>>/8 112 ns 113 ns 6890733
BenchListInsert<std::list<int>>/64 925 ns 927 ns 677808
BenchListInsert<std::list<int>>/512 7832 ns 7836 ns 94903
BenchListInsert<std::list<int>>/4096 61168 ns 61162 ns 10916
BenchListInsert<std::list<int>>/32768 504072 ns 503896 ns 1000
BenchListInsert<std::list<int>>/65536 1067595 ns 1066329 ns 653
BenchListInsert<std::list<int,my_allocator<std::_List_node<int>,65536>>>/1 3.21 ns 3.20 ns 218854776
BenchListInsert<std::list<int,my_allocator<std::_List_node<int>,65536>>>/8 29.8 ns 29.8 ns 26766716
BenchListInsert<std::list<int,my_allocator<std::_List_node<int>,65536>>>/64 231 ns 230 ns 3073914
BenchListInsert<std::list<int,my_allocator<std::_List_node<int>,65536>>>/512 1970 ns 1963 ns 326213
BenchListInsert<std::list<int,my_allocator<std::_List_node<int>,65536>>>/4096 15632 ns 15570 ns 43679
BenchListInsert<std::list<int,my_allocator<std::_List_node<int>,65536>>>/32768 138374 ns 137791 ns 5052
BenchListInsert<std::list<int,my_allocator<std::_List_node<int>,65536>>>/65536 281869 ns 280552 ns 2237
BenchPmrListInsert<std::pmr::list<int>>/1 12.1 ns 12.0 ns 52605684
BenchPmrListInsert<std::pmr::list<int>>/8 56.9 ns 56.7 ns 13725511
BenchPmrListInsert<std::pmr::list<int>>/64 438 ns 435 ns 1487749
BenchPmrListInsert<std::pmr::list<int>>/512 3897 ns 3875 ns 217403
BenchPmrListInsert<std::pmr::list<int>>/4096 27229 ns 27071 ns 26760
BenchPmrListInsert<std::pmr::list<int>>/32768 222349 ns 221039 ns 3523
BenchPmrListInsert<std::pmr::list<int>>/65536 431543 ns 428931 ns 1423
BenchListRange<std::list<int>>/1 0.650 ns 0.646 ns 1000000000
BenchListRange<std::list<int>>/8 2.96 ns 2.94 ns 244323986
BenchListRange<std::list<int>>/64 68.3 ns 67.9 ns 10596462
BenchListRange<std::list<int>>/512 475 ns 472 ns 1480421
BenchListRange<std::list<int>>/4096 7480 ns 7432 ns 96393
BenchListRange<std::list<int>>/32768 77027 ns 76521 ns 10149
BenchListRange<std::list<int>>/65536 149851 ns 149244 ns 4823
BenchListRange<std::list<int,my_allocator<std::_List_node<int>,65536>>>/1 0.696 ns 0.711 ns 1000000000
BenchListRange<std::list<int,my_allocator<std::_List_node<int>,65536>>>/8 3.24 ns 3.29 ns 211321719
BenchListRange<std::list<int,my_allocator<std::_List_node<int>,65536>>>/64 68.2 ns 69.2 ns 10137352
BenchListRange<std::list<int,my_allocator<std::_List_node<int>,65536>>>/512 516 ns 522 ns 1374263
BenchListRange<std::list<int,my_allocator<std::_List_node<int>,65536>>>/4096 4876 ns 4932 ns 135446
BenchListRange<std::list<int,my_allocator<std::_List_node<int>,65536>>>/32768 42611 ns 42980 ns 15848
BenchListRange<std::list<int,my_allocator<std::_List_node<int>,65536>>>/65536 85830 ns 86463 ns 7598
BenchPmrListRange<std::pmr::list<int>>/1 0.644 ns 0.648 ns 1000000000
BenchPmrListRange<std::pmr::list<int>>/8 2.77 ns 2.78 ns 214375964
BenchPmrListRange<std::pmr::list<int>>/64 62.4 ns 62.6 ns 11117418
BenchPmrListRange<std::pmr::list<int>>/512 487 ns 488 ns 1412353
BenchPmrListRange<std::pmr::list<int>>/4096 4691 ns 4693 ns 145731
BenchPmrListRange<std::pmr::list<int>>/32768 42704 ns 42680 ns 17167
BenchPmrListRange<std::pmr::list<int>>/65536 85725 ns 85614 ns 7987