-
Notifications
You must be signed in to change notification settings - Fork 0
/
set_range_order.txt
22 lines (22 loc) · 1.5 KB
/
set_range_order.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2023-06-11T21:36:48+08:00
Running ./bin/set_range_order
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.36, 3.36
--------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
--------------------------------------------------------------------------------------------------
BenchRangeOrderSetInt<std::set<int>> 316208 ns 322693 ns 1921
BenchRangeOrderSetInt<tsl::ordered_set<int>> 26112 ns 26562 ns 27930
BenchRangeOrderSetInt<tsl::vector_set<int>> 19800 ns 20087 ns 34751
BenchRangeOrderSetInt<absl::btree_set<int>> 48796 ns 49333 ns 14339
BenchRangeOrderSetInt<phmap::btree_set<int>> 59073 ns 59650 ns 8906
BenchRangeOrderSetString<std::set<std::string>> 5106643 ns 5141529 ns 133
BenchRangeOrderSetString<tsl::ordered_set<std::string>> 401061 ns 403399 ns 1810
BenchRangeOrderSetString<tsl::vector_set<std::string>> 321522 ns 322853 ns 2153
BenchRangeOrderSetString<absl::btree_set<std::string>> 969306 ns 972261 ns 517
BenchRangeOrderSetString<phmap::btree_set<std::string>> 995045 ns 996072 ns 750