ctx_clock

Ctx_clock is a simple test program to measure the context switch time in clock cycles.


ctx_clock

Context Switch Time

OpenBenchmarking.org metrics for this test profile configuration based on 4,334 public results since 18 February 2019 with the latest data as of 9 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
Clocks (Average)
Ice Lake [4 Cores / 8 Threads]
100th
3
68 +/- 2
Ice Lake [4 Cores / 8 Threads]
100th
20
81 +/- 2
Comet Lake [6 Cores / 12 Threads]
99th
4
88 +/- 12
Zen 2 [8 Cores / 16 Threads]
99th
4
89 +/- 9
Zen 3 [8 Cores / 16 Threads]
99th
38
92 +/- 9
Zen 2 [8 Cores / 8 Threads]
98th
3
100
Comet Lake [8 Cores / 16 Threads]
98th
3
104 +/- 15
Kaby/Coffee/Whiskey Lake [4 Cores / 8 Threads]
98th
5
105 +/- 13
Zen 3 [64 Cores / 128 Threads]
97th
7
112 +/- 10
Zen 3 [128 Cores / 256 Threads]
97th
11
115 +/- 9
Zen 2 [6 Cores / 6 Threads]
97th
8
118
Zen 2 [64 Cores / 128 Threads]
96th
10
120 +/- 1
Zen 2 [64 Cores / 128 Threads]
96th
14
120
Zen 3 [112 Cores / 224 Threads]
96th
3
120
Cascade Lake [16 Cores / 32 Threads]
94th
6
123 +/- 2
Raptor Lake [14 Cores / 20 Threads]
93rd
3
125
Zen [4 Cores / 8 Threads]
93rd
3
126
Sapphire Rapids [60 Cores / 120 Threads]
92nd
3
128
Cascade Lake [18 Cores / 36 Threads]
92nd
41
128 +/- 18
Sapphire Rapids [120 Cores / 240 Threads]
92nd
4
129 +/- 1
Zen 3 [128 Cores / 256 Threads]
92nd
18
130 +/- 7
Cascade Lake [16 Cores / 32 Threads]
91st
43
131 +/- 1
Raptor Lake [24 Cores / 32 Threads]
90th
23
132 +/- 9
Zen 3 [64 Cores / 128 Threads]
90th
4
132
Comet Lake [6 Cores / 12 Threads]
88th
3
134 +/- 1
Cascade Lake [16 Cores / 32 Threads]
88th
5
134 +/- 4
Raptor Lake [10 Cores / 16 Threads]
88th
4
134 +/- 1
Zen 2 [48 Cores / 96 Threads]
88th
10
135 +/- 3
Raptor Lake [24 Cores / 32 Threads]
86th
13
136 +/- 9
Alder Lake [14 Cores / 20 Threads]
85th
3
138 +/- 11
Alder Lake [6 Cores / 12 Threads]
85th
4
138 +/- 4
Zen [64 Cores / 128 Threads]
85th
29
138 +/- 12
Zen 2 [48 Cores / 96 Threads]
84th
18
139 +/- 1
Tiger Lake [4 Cores / 8 Threads]
84th
4
139 +/- 13
Cascade Lake [28 Cores / 56 Threads]
84th
5
140 +/- 7
Zen [24 Cores / 48 Threads]
84th
3
140
Zen [32 Cores / 64 Threads]
84th
3
140
Zen 2 [128 Cores / 256 Threads]
83rd
38
141 +/- 19
Cascade Lake [12 Cores / 24 Threads]
82nd
3
142
Zen 2 [32 Cores / 64 Threads]
82nd
5
143
Zen 2 [32 Cores / 64 Threads]
82nd
10
144
Zen [32 Cores / 64 Threads]
82nd
9
144 +/- 12
Cascade Lake [24 Cores / 48 Threads]
80th
3
146 +/- 7
Zen 3 [16 Cores / 32 Threads]
79th
74
147 +/- 22
Zen 2 [64 Cores / 128 Threads]
78th
14
148 +/- 21
Zen 2 [32 Cores / 64 Threads]
76th
3
150
Comet Lake [10 Cores / 20 Threads]
76th
30
150 +/- 7
Zen 3 [128 Cores / 256 Threads]
76th
22
150 +/- 13
Zen 2 [32 Cores / 64 Threads]
76th
10
150 +/- 1
Kaby/Coffee/Whiskey Lake [8 Cores / 16 Threads]
76th
24
150 +/- 4
Zen+ [32 Cores / 64 Threads]
76th
24
150
Mid-Tier
75th
> 150
Zen 4 [192 Cores / 384 Threads]
75th
8
151 +/- 10
Zen 3 [32 Cores / 64 Threads]
72nd
5
153 +/- 7
Cascade Lake [36 Cores / 72 Threads]
72nd
6
153 +/- 3
Tiger Lake [4 Cores / 8 Threads]
71st
8
155 +/- 2
Zen [32 Cores / 64 Threads]
71st
3
155
Zen 2 [8 Cores / 16 Threads]
71st
3
156
Zen 2 [24 Cores / 48 Threads]
70th
6
157 +/- 9
Zen 3 [64 Cores / 128 Threads]
70th
5
157 +/- 13
Zen 3 [6 Cores / 12 Threads]
70th
23
158 +/- 17
Rocket Lake [8 Cores / 16 Threads]
70th
3
158 +/- 2
Kaby/Coffee/Whiskey Lake [8 Cores / 16 Threads]
69th
3
159 +/- 2
Zen 3 [64 Cores / 128 Threads]
69th
3
159 +/- 16
Rocket Lake [8 Cores / 16 Threads]
69th
25
160 +/- 12
Raptor Lake [14 Cores / 20 Threads]
68th
4
163 +/- 9
Cascade Lake [16 Cores / 32 Threads]
67th
7
165 +/- 18
Cascade Lake [8 Cores / 16 Threads]
67th
3
166
Ivy Bridge [2 Cores / 4 Threads]
67th
3
168
Cascade Lake [8 Cores / 16 Threads]
65th
4
169
Zen 3 [32 Cores / 64 Threads]
65th
3
170 +/- 17
Raptor Lake [14 Cores / 20 Threads]
63rd
12
173 +/- 10
Zen 3 [48 Cores / 96 Threads]
63rd
4
173 +/- 9
Cascade Lake [20 Cores / 40 Threads]
63rd
3
174 +/- 1
Comet Lake [6 Cores / 12 Threads]
63rd
12
174 +/- 6
Zen 2 [32 Cores / 64 Threads]
63rd
8
174
Zen 2 [16 Cores / 32 Threads]
63rd
8
175
Zen [16 Cores / 32 Threads]
63rd
7
175 +/- 18
[8 Cores / 16 Threads]
62nd
5
176 +/- 3
Zen 4 [8 Cores / 16 Threads]
62nd
12
176 +/- 14
Zen+ [6 Cores / 12 Threads]
62nd
4
176 +/- 24
Zen 4 [12 Cores / 24 Threads]
62nd
6
176
Comet Lake [4 Cores / 8 Threads]
62nd
6
176 +/- 3
Raptor Lake [4 Cores / 8 Threads]
61st
3
178
Zen 2 [6 Cores / 12 Threads]
61st
6
178 +/- 15
Zen [8 Cores / 16 Threads]
61st
4
179 +/- 17
Zen 4 [8 Cores / 16 Threads]
61st
4
179 +/- 21
Zen 5 [16 Cores / 32 Threads]
61st
10
180 +/- 17
Zen 3 [32 Cores / 64 Threads]
61st
3
180
Zen 3 [24 Cores / 48 Threads]
61st
4
180 +/- 13
Zen [6 Cores / 12 Threads]
61st
5
180
Zen+ [16 Cores / 32 Threads]
58th
5
181 +/- 8
Alder Lake [10 Cores / 16 Threads]
58th
11
182 +/- 11
Zen 2 [16 Cores / 32 Threads]
58th
5
184 +/- 17
Zen 3 [8 Cores / 16 Threads]
58th
3
185
Zen 3 [16 Cores / 32 Threads]
58th
3
185
Zen 2 [8 Cores / 16 Threads]
58th
10
185 +/- 1
Zen 2 [24 Cores / 48 Threads]
56th
7
187 +/- 12
Zen 4 [128 Cores / 256 Threads]
56th
3
187 +/- 1
Zen 4 [6 Cores / 12 Threads]
55th
11
188
Zen 3 [16 Cores / 32 Threads]
55th
3
189 +/- 12
Zen [4 Cores / 4 Threads]
55th
4
189 +/- 6
Zen 3 [24 Cores / 48 Threads]
55th
3
190
Zen 2 [4 Cores / 8 Threads]
55th
4
190
Zen 3 [32 Cores / 64 Threads]
55th
5
190 +/- 23
Zen 2 [8 Cores / 16 Threads]
53rd
3
192
Zen 2 [48 Cores / 96 Threads]
53rd
4
193 +/- 1
Zen [4 Cores / 4 Threads]
53rd
8
194 +/- 19
Zen 2 [16 Cores / 32 Threads]
52nd
11
196 +/- 1
Ice Lake [48 Cores / 96 Threads]
52nd
5
196 +/- 28
Comet Lake [4 Cores / 8 Threads]
52nd
3
196 +/- 6
Zen 4 [16 Cores / 32 Threads]
51st
48
197 +/- 24
Zen 3 [32 Cores / 64 Threads]
51st
3
198 +/- 20
Zen [4 Cores / 4 Threads]
51st
8
198 +/- 15
Cascade Lake [18 Cores / 36 Threads]
51st
3
201 +/- 1
Rocket Lake [8 Cores / 16 Threads]
51st
3
202 +/- 28
Median
50th
202
Zen 2 [12 Cores / 24 Threads]
50th
8
203 +/- 1
Comet Lake [2 Cores / 2 Threads]
50th
5
206 +/- 5
Comet Lake [2 Cores / 4 Threads]
49th
5
208 +/- 1
Zen 4 [96 Cores / 192 Threads]
49th
8
209 +/- 11
Zen 2 [8 Cores / 16 Threads]
48th
11
217 +/- 1
[36 Cores / 72 Threads]
47th
3
218 +/- 2
Zen [32 Cores / 64 Threads]
46th
4
229 +/- 20
Alder Lake [2 Cores / 2 Threads]
44th
3
251
Zen+ [6 Cores / 12 Threads]
42nd
47
255 +/- 34
Shanghai [4 Cores / 4 Threads]
41st
8
266 +/- 2
Zen 2 [128 Cores / 256 Threads]
37th
3
338
Cascade Lake [8 Cores / 16 Threads]
36th
8
343 +/- 32
Zen 4 [6 Cores / 12 Threads]
36th
4
348
Jacobsville [24 Cores / 24 Threads]
35th
4
358 +/- 1
Bulldozer [8 Cores / 8 Threads]
30th
3
534
Bulldozer [32 Cores / 32 Threads]
29th
3
537 +/- 9
Westmere [24 Cores / 24 Threads]
28th
11
561 +/- 31
Sandy Bridge [32 Cores / 32 Threads]
27th
3
584 +/- 7
Low-Tier
25th
> 619
Sandy Bridge [32 Cores / 32 Threads]
25th
3
633 +/- 6
Westmere [24 Cores / 24 Threads]
24th
4
645 +/- 58
[72 Cores / 144 Threads]
24th
3
650 +/- 3
Nehalem [4 Cores / 8 Threads]
24th
3
658 +/- 65
Cascade Lake [24 Cores / 48 Threads]
23rd
4
675 +/- 47
Bulldozer [8 Cores / 8 Threads]
22nd
4
734 +/- 60
Nehalem [8 Cores / 8 Threads]
21st
6
770 +/- 10
Cascade Lake [16 Cores / 32 Threads]
18th
4
864 +/- 83
Cascade Lake [6 Cores / 12 Threads]
17th
3
917 +/- 8
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
16th
4
968 +/- 4
Haswell [56 Cores / 56 Threads]
15th
7
975 +/- 32
Sandy Bridge [12 Cores / 12 Threads]
12th
3
1074 +/- 50
Sandy Bridge [16 Cores / 32 Threads]
12th
4
1075 +/- 4
Haswell [4 Cores / 4 Threads]
12th
4
1079 +/- 32
Skylake [4 Cores / 8 Threads]
11th
11
1093 +/- 30
Broadwell [24 Cores / 48 Threads]
11th
3
1109 +/- 23
Ivy Bridge [12 Cores / 12 Threads]
10th
11
1124 +/- 141
Cascade Lake [10 Cores / 20 Threads]
9th
4
1136 +/- 38
Haswell [8 Cores / 8 Threads]
9th
3
1154 +/- 21
Ivy Bridge [8 Cores / 8 Threads]
9th
3
1164 +/- 2
Broadwell [8 Cores / 16 Threads]
8th
3
1167 +/- 83
Haswell [8 Cores / 8 Threads]
8th
9
1176 +/- 26
Kaby/Coffee/Whiskey Lake [2 Cores / 4 Threads]
7th
3
1223 +/- 73
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
6th
14
1317 +/- 75
Kaby/Coffee/Whiskey Lake [2 Cores / 4 Threads]
5th
5
1372 +/- 59
Kaby/Coffee/Whiskey Lake [6 Cores / 12 Threads]
3rd
19
1769 +/- 207
Cascade Lake [24 Cores / 48 Threads]
2nd
10
1891 +/- 166