Smallpt is a C++ global illumination renderer written in less than 100 lines of code. Global illumination is done via unbiased Monte Carlo path tracing and there is multi-threading support via the OpenMP library.
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
Seconds (Average)
Zen 2 [64 Cores / 128 Threads]
100th
8
2
Ice Lake [56 Cores / 112 Threads]
99th
3
3
Zen [64 Cores / 128 Threads]
99th
8
3
Cascade Lake [48 Cores / 96 Threads]
98th
8
3
Zen 5 [16 Cores / 32 Threads]
97th
3
3
Ice Lake [48 Cores / 96 Threads]
96th
9
4
Raptor Lake [24 Cores / 32 Threads]
96th
11
4
Zen 3 [32 Cores / 64 Threads]
96th
11
4
Sapphire Rapids [24 Cores / 48 Threads]
96th
8
4 +/- 1
Zen 4 [16 Cores / 32 Threads]
95th
19
4 +/- 1
Zen+ [32 Cores / 64 Threads]
95th
27
4 +/- 1
Sapphire Rapids [24 Cores / 48 Threads]
94th
3
5
Broadwell [36 Cores / 72 Threads]
93rd
3
5
Ice Lake [32 Cores / 64 Threads]
93rd
18
5
Raptor Lake [16 Cores / 24 Threads]
92nd
5
5
Zen 3 [16 Cores / 32 Threads]
92nd
87
5 +/- 1
Zen 4 [12 Cores / 24 Threads]
92nd
5
5
Zen 3 [128 Cores / 256 Threads]
91st
3
5
Broadwell [32 Cores / 64 Threads]
90th
3
6
Zen 2 [16 Cores / 32 Threads]
90th
46
6 +/- 1
Zen 3 [12 Cores / 24 Threads]
87th
62
6
Zen+ [16 Cores / 32 Threads]
87th
22
7
Comet Lake [10 Cores / 20 Threads]
86th
4
7
Cascade Lake [16 Cores / 32 Threads]
86th
6
7 +/- 1
Cascade Lake [18 Cores / 36 Threads]
85th
4
7
Zen [16 Cores / 32 Threads]
85th
4
7
Zen 2 [12 Cores / 24 Threads]
84th
50
8 +/- 1
Ivy Bridge [40 Cores / 40 Threads]
84th
3
8
Zen 2 [64 Cores / 128 Threads]
83rd
8
8
Comet Lake [10 Cores / 20 Threads]
83rd
37
8 +/- 1
Zen+ [12 Cores / 24 Threads]
82nd
6
8
Ivy Bridge [20 Cores / 40 Threads]
81st
7
8
Zen [16 Cores / 32 Threads]
80th
13
9 +/- 1
Alder Lake [10 Cores / 16 Threads]
80th
10
9 +/- 1
Haswell [18 Cores / 36 Threads]
80th
4
9 +/- 1
Zen [12 Cores / 24 Threads]
80th
15
9
Raptor Lake [10 Cores / 16 Threads]
80th
4
9
Rocket Lake [8 Cores / 16 Threads]
80th
36
9 +/- 1
Broadwell [20 Cores / 40 Threads]
80th
5
9
Rocket Lake [8 Cores / 16 Threads]
78th
9
9
Zen 3 [8 Cores / 16 Threads]
78th
13
9
Zen 3 [8 Cores / 16 Threads]
78th
9
9 +/- 1
[16 Cores / 32 Threads]
77th
3
10
Zen 3 [8 Cores / 16 Threads]
77th
10
10 +/- 1
Zen [16 Cores / 32 Threads]
77th
4
10 +/- 1
Zen 2 [8 Cores / 16 Threads]
77th
4
10
Haswell [32 Cores / 32 Threads]
76th
5
10
Zen 4 [6 Cores / 12 Threads]
76th
4
10
Kaby/Coffee/Whiskey Lake [8 Cores / 16 Threads]
75th
7
11
Cascade Lake [10 Cores / 20 Threads]
75th
7
11 +/- 1
Zen 2 [8 Cores / 16 Threads]
75th
48
11 +/- 1
Ivy Bridge [32 Cores / 32 Threads]
75th
5
11 +/- 1
Zen 2 [64 Cores / 128 Threads]
75th
5
11
Alder Lake [6 Cores / 12 Threads]
74th
8
11
Zen 2 [8 Cores / 16 Threads]
74th
12
11 +/- 1
Sandy Bridge [32 Cores / 32 Threads]
72nd
6
12 +/- 1
Zen+ [8 Cores / 16 Threads]
72nd
40
12 +/- 1
Zen 4 [8 Cores / 16 Threads]
72nd
3
12
Zen 2 [8 Cores / 16 Threads]
72nd
19
12 +/- 2
Alder Lake [8 Cores / 12 Threads]
71st
3
12 +/- 1
Zen 3 [8 Cores / 16 Threads]
71st
7
12 +/- 1
Zen 3 [6 Cores / 12 Threads]
70th
33
13 +/- 2
Zen 2 [32 Cores / 64 Threads]
70th
3
13
Zen 2 [32 Cores / 64 Threads]
70th
4
13
Zen 2 [32 Cores / 64 Threads]
70th
5
13
Alder Lake [6 Cores / 12 Threads]
69th
4
13 +/- 1
Zen 3 [8 Cores / 16 Threads]
69th
4
13
Zen 2 [32 Cores / 64 Threads]
69th
6
13 +/- 1
Zen [8 Cores / 16 Threads]
68th
21
13 +/- 1
Zen 2 [8 Cores / 16 Threads]
68th
4
13 +/- 1
Zen+ [8 Cores / 16 Threads]
68th
21
13 +/- 1
Zen 2 [8 Cores / 16 Threads]
68th
3
13
Sandy Bridge [32 Cores / 32 Threads]
68th
4
13 +/- 1
Zen [8 Cores / 16 Threads]
68th
11
14 +/- 1
Zen 3 [6 Cores / 12 Threads]
68th
8
14 +/- 1
Zen 2 [24 Cores / 48 Threads]
67th
5
14
Haswell [48 Cores / 24 Threads]
67th
5
14 +/- 1
Comet Lake [6 Cores / 12 Threads]
67th
15
14
Zen 2 [32 Cores / 64 Threads]
67th
5
14
Zen 2 [6 Cores / 12 Threads]
66th
25
14 +/- 1
Zen 2 [8 Cores / 16 Threads]
66th
10
15 +/- 1
Sandy Bridge [16 Cores / 32 Threads]
65th
3
15
Zen 2 [8 Cores / 16 Threads]
65th
4
15 +/- 2
Zen 3 [8 Cores / 16 Threads]
64th
8
15 +/- 2
Zen 2 [12 Cores / 24 Threads]
64th
3
15
Zen+ [6 Cores / 12 Threads]
64th
56
16
Comet Lake [6 Cores / 12 Threads]
63rd
4
16
Haswell [16 Cores / 16 Threads]
63rd
7
16
[4 Cores / 8 Threads]
63rd
5
16 +/- 1
Zen+ [6 Cores / 12 Threads]
61st
20
18 +/- 2
Sandy Bridge [32 Cores / 32 Threads]
60th
3
18
Zen 2 [8 Cores / 16 Threads]
60th
6
18 +/- 1
Ivy Bridge [12 Cores / 24 Threads]
60th
7
18 +/- 1
Zen 2 [8 Cores / 8 Threads]
60th
4
19 +/- 2
Zen+ [6 Cores / 12 Threads]
59th
55
19 +/- 2
Kaby/Coffee/Whiskey Lake [8 Cores / 8 Threads]
59th
7
19 +/- 3
Zen 2 [8 Cores / 16 Threads]
59th
5
19
Zen 2 [8 Cores / 16 Threads]
59th
3
19
Family 24, Model 1 [8 Cores / 16 Threads]
59th
5
19
Westmere [24 Cores / 24 Threads]
59th
3
19 +/- 2
Westmere [24 Cores / 24 Threads]
58th
5
20 +/- 3
Cascade Lake [8 Cores / 16 Threads]
57th
6
21
Tiger Lake [4 Cores / 8 Threads]
57th
3
21
Maranello [24 Cores / 24 Threads]
57th
7
21 +/- 1
Ivy Bridge [12 Cores / 12 Threads]
56th
3
22 +/- 1
Sandy Bridge [24 Cores / 24 Threads]
56th
13
22
Kaby/Coffee/Whiskey Lake [6 Cores / 12 Threads]
55th
3
23 +/- 1
Kaby/Coffee/Whiskey Lake [8 Cores / 8 Threads]
55th
6
23 +/- 2
Comet Lake [4 Cores / 8 Threads]
55th
8
23
Kaby/Coffee/Whiskey Lake [6 Cores / 6 Threads]
54th
3
23 +/- 3
Ivy Bridge [12 Cores / 12 Threads]
54th
4
24
Cascade Lake [8 Cores / 16 Threads]
54th
3
24
Cascade Lake [6 Cores / 12 Threads]
53rd
15
24
[6 Cores / 8 Threads]
53rd
4
24 +/- 3
Broadwell [8 Cores / 16 Threads]
53rd
5
24 +/- 4
Zen [4 Cores / 8 Threads]
53rd
7
25 +/- 3
Cascade Lake [8 Cores / 16 Threads]
53rd
4
25
Zen 2 [6 Cores / 6 Threads]
52nd
3
26 +/- 3
Tiger Lake [4 Cores / 8 Threads]
52nd
4
26 +/- 3
Zen [8 Cores / 8 Threads]
51st
4
26
Zen [8 Cores / 8 Threads]
51st
3
26 +/- 1
Ice Lake [4 Cores / 8 Threads]
51st
4
26
Haswell [16 Cores / 32 Threads]
51st
45
26
[4 Cores / 8 Threads]
50th
3
27
Skylake [4 Cores / 8 Threads]
49th
8
27 +/- 2
Zen [4 Cores / 8 Threads]
49th
10
27 +/- 3
Skylake [8 Cores / 8 Threads]
49th
4
27 +/- 2
Haswell [8 Cores / 8 Threads]
49th
12
27 +/- 1
Zen 2 [4 Cores / 8 Threads]
49th
5
27 +/- 1
Cascade Lake [12 Cores / 24 Threads]
49th
3
28
Kaby/Coffee/Whiskey Lake [8 Cores / 8 Threads]
49th
3
28
Zen [4 Cores / 8 Threads]
48th
4
28 +/- 2
Kaby/Coffee/Whiskey Lake [4 Cores / 8 Threads]
48th
3
28 +/- 3
Kaby/Coffee/Whiskey Lake [6 Cores / 6 Threads]
47th
3
30 +/- 1
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
46th
3
30 +/- 2
Westmere [12 Cores / 12 Threads]
46th
10
30 +/- 2
Kaby/Coffee/Whiskey Lake [4 Cores / 8 Threads]
46th
3
31 +/- 3
Haswell [8 Cores / 8 Threads]
45th
6
31 +/- 4
Haswell [8 Cores / 8 Threads]
45th
3
31 +/- 3
Zen [4 Cores / 4 Threads]
44th
18
33 +/- 2
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
44th
4
33
Westmere [16 Cores / 16 Threads]
43rd
4
33 +/- 2
Kaby/Coffee/Whiskey Lake [8 Cores / 8 Threads]
43rd
3
33 +/- 4
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
43rd
9
34 +/- 2
Zen [4 Cores / 8 Threads]
43rd
3
34 +/- 4
[4 Cores / 8 Threads]
42nd
9
35 +/- 1
Kaby/Coffee/Whiskey Lake [4 Cores / 8 Threads]
42nd
4
35 +/- 4
Ivy Bridge [8 Cores / 8 Threads]
42nd
3
35 +/- 2
Haswell [8 Cores / 8 Threads]
42nd
7
35 +/- 3
Cascade Lake [4 Cores / 8 Threads]
42nd
6
35 +/- 4
[4 Cores / 8 Threads]
42nd
13
35 +/- 1
Zen [4 Cores / 4 Threads]
41st
5
36 +/- 2
Skylake [8 Cores / 8 Threads]
41st
7
36 +/- 4
Zen [4 Cores / 4 Threads]
40th
11
37 +/- 1
Zen [4 Cores / 8 Threads]
40th
4
37 +/- 3
Kaby/Coffee/Whiskey Lake [4 Cores / 8 Threads]
40th
6
37 +/- 5
[4 Cores / 4 Threads]
40th
5
37 +/- 1
Sandy Bridge [8 Cores / 8 Threads]
39th
4
38 +/- 3
Haswell [8 Cores / 8 Threads]
39th
3
38 +/- 1
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
38th
10
38 +/- 5
Penryn [8 Cores / 8 Threads]
38th
3
38
Haswell [4 Cores / 4 Threads]
38th
4
39 +/- 1
Skylake [4 Cores / 4 Threads]
38th
4
39
Skylake [4 Cores / 4 Threads]
37th
16
40 +/- 2
[8 Cores / 8 Threads]
37th
10
40 +/- 5
Kaby/Coffee/Whiskey Lake [2 Cores / 8 Threads]
37th
13
40 +/- 3
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
37th
4
40 +/- 4
Ivy Bridge [4 Cores / 8 Threads]
36th
14
41 +/- 4
Zen [4 Cores / 4 Threads]
36th
3
41 +/- 5
Sandy Bridge [4 Cores / 8 Threads]
36th
15
42 +/- 2
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
36th
3
42
Haswell [4 Cores / 8 Threads]
36th
5
42 +/- 3
Kaby/Coffee/Whiskey Lake [4 Cores / 4 Threads]
36th
9
43
Sandy Bridge [8 Cores / 8 Threads]
35th
4
43 +/- 5
[12 Cores / 12 Threads]
35th
5
44 +/- 1
Skylake [4 Cores / 4 Threads]
33rd
3
47
Bulldozer [8 Cores / 8 Threads]
32nd
3
51 +/- 1
Zen [2 Cores / 4 Threads]
31st
10
52 +/- 2
Bulldozer [6 Cores / 6 Threads]
30th
4
56 +/- 2
Alder Lake [2 Cores / 2 Threads]
30th
3
57
Kaby/Coffee/Whiskey Lake [2 Cores / 4 Threads]
29th
4
61 +/- 5
Broadwell [4 Cores / 4 Threads]
27th
7
67 +/- 2
Kaby/Coffee/Whiskey Lake [2 Cores / 4 Threads]
27th
4
67 +/- 9
[4 Cores / 4 Threads]
27th
16
69 +/- 3
[4 Cores / 4 Threads]
26th
3
71 +/- 2
Zen [2 Cores / 4 Threads]
25th
5
73 +/- 7
Ivy Bridge [4 Cores / 4 Threads]
25th
6
73 +/- 6
Skylake [2 Cores / 4 Threads]
25th
11
74 +/- 9
[4 Cores / 4 Threads]
25th
8
75 +/- 2
Penryn [4 Cores / 4 Threads]
25th
3
75 +/- 1
Haswell [4 Cores / 4 Threads]
25th
7
75 +/- 5
Haswell [4 Cores / 4 Threads]
24th
3
76 +/- 2
[4 Cores / 4 Threads]
24th
21
77 +/- 8
Ivy Bridge [2 Cores / 4 Threads]
24th
3
78 +/- 7
Sandy Bridge [4 Cores / 4 Threads]
23rd
3
80 +/- 1
Kaby/Coffee/Whiskey Lake [2 Cores / 4 Threads]
23rd
6
80 +/- 7
Shanghai [4 Cores / 4 Threads]
23rd
3
80 +/- 4
Nehalem [4 Cores / 4 Threads]
23rd
3
81 +/- 12
Broadwell [2 Cores / 4 Threads]
23rd
13
81 +/- 5
Steamroller [2 Cores / 4 Threads]
22nd
3
84 +/- 1
Ivy Bridge [2 Cores / 4 Threads]
22nd
17
85 +/- 4
Zen [2 Cores / 4 Threads]
22nd
4
85 +/- 6
Cascade Lake [18 Cores / 36 Threads]
21st
9
87 +/- 1
Haswell [4 Cores / 4 Threads]
20th
4
91 +/- 3
Penryn [4 Cores / 4 Threads]
19th
3
98 +/- 14
Haswell [4 Cores / 4 Threads]
18th
5
101 +/- 9
Ivy Bridge [2 Cores / 4 Threads]
18th
9
102 +/- 6
Gemini Lake [4 Cores / 4 Threads]
17th
3
108 +/- 9
[8 Cores / 8 Threads]
16th
7
112 +/- 5
Goldmont [4 Cores / 4 Threads]
16th
3
114 +/- 4
Goldmont [4 Cores / 4 Threads]
12th
5
135 +/- 15
Cascade Lake [48 Cores / 96 Threads]
11th
5
139 +/- 2
Italy [4 Cores / 4 Threads]
10th
4
161
Gemini Lake [2 Cores / 2 Threads]
9th
6
170 +/- 21
Jaguar [4 Cores / 4 Threads]
8th
3
188 +/- 3
[8 Cores / 8 Threads]
7th
3
196 +/- 13
Kaby/Coffee/Whiskey Lake [2 Cores / 2 Threads]
7th
11
203 +/- 2
Goldmont [2 Cores / 2 Threads]
5th
3
231 +/- 10
Airmont [4 Cores / 4 Threads]
5th
10
233 +/- 3
Bonnell [2 Cores / 2 Threads]
1st
3
1351 +/- 42