-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathset_erase_order.txt
More file actions
26 lines (26 loc) · 1.94 KB
/
set_erase_order.txt
File metadata and controls
26 lines (26 loc) · 1.94 KB
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
2023-06-16T17:42:38+08:00
Running ./bin/set_erase_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.33, 3.92, 2.65
----------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------------------------------------------
BenchEraseOrderSetInt<std::set<int>> 170 ns 170 ns 4220423
BenchEraseOrderSetInt<tsl::ordered_set<int>> 53397 ns 53393 ns 10000
BenchEraseOrderSetInt<tsl::vector_set<int>> 53047 ns 53043 ns 10000
BenchEraseUnOrderSetInt<tsl::ordered_set<int>> 24.1 ns 24.1 ns 29401711
BenchEraseUnOrderSetInt<tsl::vector_set<int>> 7.89 ns 7.89 ns 89577008
BenchEraseOrderSetInt<absl::btree_set<int>> 130 ns 130 ns 4340440
BenchEraseOrderSetInt<phmap::btree_set<int>> 123 ns 123 ns 5675238
BenchEraseOrderSetString<std::set<std::string>> 728 ns 728 ns 908723
BenchEraseOrderSetString<tsl::ordered_set<std::string>> 265760 ns 265721 ns 2441
BenchEraseOrderSetString<tsl::vector_set<std::string>> 290693 ns 290658 ns 2554
BenchEraseUnorderSetString<tsl::ordered_set<std::string>> 213 ns 213 ns 3463834
BenchEraseUnorderSetString<tsl::vector_set<std::string>> 174 ns 174 ns 4309007
BenchEraseOrderSetString<absl::btree_set<std::string>> 513 ns 513 ns 1000000
BenchEraseOrderSetString<phmap::btree_set<std::string>> 488 ns 488 ns 1458276