BenchmarkMutex

BenchmarkMutex is a mutex benchmark created by Malte Skarupke.


BenchmarkMutex

Benchmark: Mutex Lock Unlock std::mutex

OpenBenchmarking.org metrics for this test profile configuration based on 268 public results since 1 January 2020 with the latest data as of 8 January 2025.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Details
Percentile Rank
# Compatible Public Results
ns (Average)
Zen 2 [12 Cores / 24 Threads]
95th
6
13.0 +/- 1.0
Zen 3 [16 Cores / 32 Threads]
92nd
3
13.2 +/- 1.4
Zen 2 [32 Cores / 64 Threads]
91st
3
13.4 +/- 0.1
Zen 2 [8 Cores / 16 Threads]
91st
5
13.4 +/- 1.1
Alder Lake [16 Cores / 24 Threads]
89th
5
14.0 +/- 0.9
Kaby/Coffee/Whiskey Lake [8 Cores / 16 Threads]
77th
3
16.0
Mid-Tier
75th
> 16.0
Cascade Lake [18 Cores / 36 Threads]
72nd
3
16.8 +/- 0.1
Zen 2 [128 Cores / 256 Threads]
70th
3
17.0 +/- 1.0
Zen [4 Cores / 8 Threads]
70th
6
17.0 +/- 0.2
Zen 3 [64 Cores / 128 Threads]
65th
3
18.0 +/- 1.9
Zen 2 [48 Cores / 96 Threads]
61st
3
18.8 +/- 1.4
Cascade Lake [56 Cores / 112 Threads]
51st
4
20.2 +/- 0.1
Median
50th
20.2
Cascade Lake [8 Cores / 16 Threads]
46th
8
21.0 +/- 2.0
Cascade Lake [24 Cores / 48 Threads]
40th
4
22.6
Shanghai [4 Cores / 4 Threads]
30th
6
25.3 +/- 0.1
Skylake [4 Cores / 4 Threads]
29th
9
25.4 +/- 1.1
Low-Tier
25th
> 25.8
Westmere [12 Cores / 12 Threads]
19th
4
26.9 +/- 0.1
Sandy Bridge [16 Cores / 32 Threads]
11th
5
35.5 +/- 1.2
Ivy Bridge [2 Cores / 4 Threads]
8th
6
39.5 +/- 1.1
Cascade Lake [24 Cores / 48 Threads]
3rd
8
67.4 +/- 1.2