Skip to content

Commit cb9463d

Browse files
authored
Remove comment disabling BM_html5lib function (#114)
It looks like it was missed in [this commit](b92f635). This was discovered while performance testing a build of python that didn't have `_sqlite3` built, and so when running the following: ``` python -m pyperformance run --benchmarks=-sqlalchemy_declarative,-sqlalchemy_imperative,-sqlite_synth ``` One gets a KeyError on `func = bench_funcs[name]` in `run.py`, and trying to work around it (adding `-html5lib` to `--benchmarks`) doesn't work, because `__init__.py` assumes things are in a consistent state.
1 parent bc47417 commit cb9463d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyperformance/benchmarks/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ def BM_nbody(python, options):
233233
return run_perf_script(python, options, "nbody")
234234

235235

236-
# def BM_html5lib(python, options):
237-
# return run_perf_script(python, options, "html5lib")
236+
def BM_html5lib(python, options):
237+
return run_perf_script(python, options, "html5lib")
238238

239239

240240
def BM_richards(python, options):

0 commit comments

Comments
 (0)