Skip to content

Commit 1e42f53

Browse files
committed
also skip over pypy benchmarks that crash on our builds of cpython and graalpy
1 parent a55460e commit 1e42f53

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed

mx.graalpython/mx_graalpython_python_benchmarks.py

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,55 @@
114114
"xml_etree",
115115
]
116116

117+
DEFAULT_PYPY_BENCHMARKS = [
118+
"ai",
119+
# "bm_chameleon",
120+
"bm_dulwich_log",
121+
"bm_mako",
122+
"bm_mdp",
123+
"chaos",
124+
# "cpython_doc",
125+
"crypto_pyaes",
126+
"deltablue",
127+
"django",
128+
"eparse",
129+
"fannkuch",
130+
"float",
131+
"genshi_text",
132+
"genshi_xml",
133+
"go",
134+
"hexiom2",
135+
"html5lib",
136+
"json_bench",
137+
"meteor-contest",
138+
"nbody_modified",
139+
"nqueens",
140+
"pidigits",
141+
"pyflate-fast",
142+
"pyxl_bench",
143+
"raytrace-simple",
144+
"richards",
145+
"scimark_fft",
146+
"scimark_lu",
147+
"scimark_montecarlo",
148+
"scimark_sor",
149+
"scimark_sparsematmult",
150+
"spectral-norm",
151+
"spitfire2",
152+
"spitfire_cstringio2",
153+
# "sqlalchemy_declarative",
154+
# "sqlalchemy_imperative",
155+
# "sqlitesynth",
156+
# "sympy_expand",
157+
# "sympy_integrate",
158+
# "sympy_str",
159+
# "sympy_sum",
160+
# "telco",
161+
# "twisted_names",
162+
# "twisted_pb",
163+
# "twisted_tcp",
164+
]
165+
117166

118167
class PyPerfJsonRule(mx_benchmark.Rule):
119168
"""Parses a JSON file produced by PyPerf and creates a measurement result."""
@@ -488,7 +537,7 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
488537
if benchmarks:
489538
bms = ["-b", ",".join(benchmarks)]
490539
else:
491-
bms = []
540+
bms = ["-b", ",".join(DEFAULT_PYPY_BENCHMARKS)]
492541
retcode = mx.run(
493542
[
494543
sys.executable,

0 commit comments

Comments
 (0)