-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbench_runner.toml
More file actions
202 lines (176 loc) · 6 KB
/
bench_runner.toml
File metadata and controls
202 lines (176 loc) · 6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
[bases]
# List the base versions you want to compare every benchmark run to
versions = ["3.10.4", "3.12.0", "3.13.0"]
[notify]
notification_issue = 182
[benchmarks]
# List any benchmarks you want to exclude from results here
excluded_benchmarks = [
# Benchmarks where the mean execution count < 5
"aiohttp",
"asyncio_tcp",
"asyncio_tcp_ssl",
"bench_mp_pool",
"concurrent_imap",
"deepcopy_reduce",
"logging_silent",
"pickle",
"pickle_dict",
"pickle_list",
"unpack_sequence",
"unpickle",
"unpickle_list",
]
# os: one of 'linux', 'darwin', 'windows'
# arch: 'amd64' or 'arm64' (used for display only)
# hostname: Must match the hostname of the machine (as retrieved from
# socket.gethostname()).
# available: True if the machine is available (we need to keep the
# metadata around for old machines for the generated results). (Default: True)
# For backward compatibility reasons, the machines with hostnames "pyperf" and
# "CPythons-Mac-mini.local" must be named "linux" and "darwin" permanently, since
# we used to identify machines by their OS alone.
[runners.linux]
os = "linux"
arch = "x86_64"
hostname = "pyperf"
plot = { name = "linux", color = "C0", style = "-", marker = "s" }
[runners.linux_clang]
os = "linux"
arch = "x86_64"
hostname = "pyperf"
github_runner_name = "linux-x86_64-linux"
include_in_all = false
plot = { name = "linux clang", color = "C0", style = "-", marker = "s" }
[runners.linux_clang.env]
CC = "$(which clang-19)"
LLVM_AR = "$(which llvm-ar-19)"
LLVM_PROFDATA = "$(which llvm-profdata-19)"
[runners.pythonperf2]
os = "linux"
arch = "x86_64"
hostname = "pythonperf2"
include_in_all = false
plot = { name = "linux2", color = "C0", style = ":", marker = "s" }
[runners.pythonperf2_clang]
os = "linux"
arch = "x86_64"
hostname = "pythonperf2"
github_runner_name = "linux-x86_64-pythonperf2"
include_in_all = false
plot = { name = "linux2 clang", color = "C0", style = ":", marker = "s" }
[runners.pythonperf2_clang.env]
cc = "$(which clang-19)"
llvm_ar = "$(which llvm-ar-19)"
llvm_profdata = "$(which llvm-profdata-19)"
[runners.arminc]
os = "linux"
arch = "aarch64"
hostname = "aarch64-faster-cpython-benchmarks"
plot = { name = "linux arm64", color = "C4", style = "--", marker = "s" }
[runners.arminc_clang]
os = "linux"
arch = "aarch64"
hostname = "aarch64-faster-cpython-benchmarks"
github_runner_name = "linux-x86_64-arminc"
include_in_all = false
plot = { name = "linux arm64 clang", color = "C4", style = "--", marker = "s" }
[runners.arminc_clang.env]
cc = "$(which clang-19)"
llvm_ar = "$(which llvm-ar-19)"
llvm_profdata = "$(which llvm-profdata-19)"
[runners.darwin]
os = "darwin"
arch = "arm64"
hostname = "CPythons-Mac-mini.local"
plot = { name = "macos", color = "C2", style = "-", marker = "^" }
[runners.darwin_clang]
os = "darwin"
arch = "arm64"
hostname = "CPythons-Mac-mini.local"
github_runner_name = "darwin-arm64-darwin"
include_in_all = false
plot = { name = "macos clang", color = "C2", style = "-", marker = "^" }
[runners.darwin_clang.env]
PATH = "$(brew --prefix llvm)/bin:$PATH"
CC = "$(brew --prefix llvm)/bin/clang"
LDFLAGS = "-L$(brew --prefix llvm)/lib"
CFLAGS = "-L$(brew --prefix llvm)/include"
[runners.pythonperf1]
os = "windows"
arch = "x86_64"
hostname = "WIN-5FKPU9U7KDT"
env = { BUILD_DEST = "PCBuild/amd64" }
plot = { name = "win64", color = "C3", style = "-", marker = "." }
[runners.pythonperf1_clang]
os = "windows"
arch = "x86_64"
hostname = "WIN-5FKPU9U7KDT"
github_runner_name = "windows-x86_64-pythonperf1"
include_in_all = false
plot = { name = "win64 clang", color = "C3", style = "-", marker = "." }
[runners.pythonperf1_clang.env]
BUILD_DEST = "PCBuild/amd64"
PYTHON_CONFIGURE_FLAGS = '`"/p:PlatformToolset`=clangcl`" `"/p:LLVMInstallDir`=C:\Program Files\LLVM`" `"/p:LLVMToolsVersion`=19.1.6`"'
[runners.pythonperf1_win32]
os = "windows"
arch = "x86"
hostname = "WIN-5FKPU9U7KDT"
github_runner_name = "windows-x86_64-pythonperf1"
env = { BUILD_FLAGS = "-p Win32", BUILD_DEST = "PCBuild/win32" }
include_in_all = false
plot = { name = "win32", color = "C3", style = ":", marker = "." }
[runners.pythonperf1_win32_clang]
os = "windows"
arch = "x86_64"
hostname = "WIN-5FKPU9U7KDT"
github_runner_name = "windows-x86_64-pythonperf1"
include_in_all = false
plot = { name = "win32 clang", color = "C3", style = ":", marker = "." }
[runners.pythonperf1_win32_clang.env]
BUILD_DEST = "PCBuild/win32"
BUILD_FLAGS = "-p Win32"
PYTHON_CONFIGURE_FLAGS = '`"/p:PlatformToolset`=clangcl`" `"/p:LLVMInstallDir`=C:\Program Files\LLVM`" `"/p:LLVMToolsVersion`=19.1.6`"'
[runners.azure]
os = "linux"
arch = "x86_64"
hostname = "cpython-benchmarking-azure"
available = false
[longitudinal_plot]
subplots = [
{ base = "3.10.4", version = "3.11" },
{ base = "3.12.0", version = "3.13" },
{ base = "3.13.0", version = "3.14" },
{ base = "3.13.0", version = "3.14", flags = ["JIT"] },
{ base = "3.13.0", version = "3.15" },
{ base = "3.13.0", version = "3.15", flags = ["JIT"] },
]
[[flag_effect_plot.subplots]]
name = "JIT"
head_flags = ["JIT"]
version = "3.14"
[[flag_effect_plot.subplots]]
name = "Tail calling interpreter"
head_flags = ["TAILCALL"]
runner_map = { linux_clang = "linux", pythonperf2_clang = "linux2", arminc_clang = "arminc", darwin_clang = "darwin", pythonperf1_clang = "pythonperf1", pythonperf1_win32_clang = "pythonperf1_win32" }
version = "3.14"
[[flag_effect_plot.subplots]]
name = "Free-threading"
head_flags = ["NOGIL"]
version = "3.14"
[benchmark_longitudinal_plot]
base = "3.13.0"
version = "3.14"
runners = ["linux"]
[weekly.default]
flags = []
runners = ["linux", "pythonperf2", "darwin", "arminc", "pythonperf1", "pythonperf1_win32"]
[weekly.jit]
flags = ["JIT"]
runners = ["linux", "pythonperf2", "darwin", "arminc", "pythonperf1", "pythonperf1_win32"]
[weekly.nogil]
flags = ["NOGIL"]
runners = ["linux", "pythonperf2", "darwin", "arminc", "pythonperf1", "pythonperf1_win32"]
[weekly.tailcall]
flags = ["TAILCALL"]
runners = ["linux_clang", "pythonperf2_clang", "darwin_clang", "arminc_clang", "pythonperf1_clang", "pythonperf1_win32_clang"]