-
Notifications
You must be signed in to change notification settings - Fork 0
/
adt_set_reserve.txt
20 lines (20 loc) · 1.14 KB
/
adt_set_reserve.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2023-06-11T21:30:31+08:00
Running ./bin/adt_set_reserve
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: 8.03, 4.84, 2.89
----------------------------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------------------------
BM_insert<std::unordered_set<int>> 3321000 ns 3308765 ns 221
BM_reserve<std::unordered_set<int>> 2403362 ns 2408972 ns 286
BM_insert<llvm::DenseSet<int>> 522881 ns 523590 ns 1000
BM_insert<llvm::SmallSet<int, 32>> 10304225 ns 9334994 ns 71
BM_reserve<llvm::DenseSet<int>> 348192 ns 345615 ns 1663
BM_insert<llvm::SetVector<int>> 578753 ns 570352 ns 1000
BM_AdtInsert<llvm::SparseSet<unsigned>> 6254834 ns 6246432 ns 99
BM_StringInsert<llvm::StringSet<>> 8336741 ns 8319702 ns 93