diff --git a/benchmarks/MANIFEST b/benchmarks/MANIFEST index 13c0666..b218305 100644 --- a/benchmarks/MANIFEST +++ b/benchmarks/MANIFEST @@ -24,5 +24,4 @@ flaskblogging kinto [group all] --mypyc -json diff --git a/benchmarks/bm_mypy/bm_mypyc.toml b/benchmarks/bm_mypy/bm_mypyc.toml deleted file mode 100644 index ca894a6..0000000 --- a/benchmarks/bm_mypy/bm_mypyc.toml +++ /dev/null @@ -1,9 +0,0 @@ -[project] -name = "bm_mypyc" -dependencies = [ - "mypy", -] -dynamic = ["version"] - -[tool.pyperformance] -extra_opts = ["--loops", "50"] diff --git a/benchmarks/bm_mypy/requirements.txt b/benchmarks/bm_mypy/requirements.txt index f23280a..8fc814c 100644 --- a/benchmarks/bm_mypy/requirements.txt +++ b/benchmarks/bm_mypy/requirements.txt @@ -1,4 +1,4 @@ -mypy==0.790 +mypy==0.961 mypy-extensions==0.4.3 -typed-ast==1.4.1 -typing-extensions==3.7.4.3 +typed-ast==1.5.4 +typing-extensions==4.2.0 diff --git a/benchmarks/bm_mypy/run_benchmark.py b/benchmarks/bm_mypy/run_benchmark.py index 67e8833..d64aa74 100644 --- a/benchmarks/bm_mypy/run_benchmark.py +++ b/benchmarks/bm_mypy/run_benchmark.py @@ -47,7 +47,7 @@ def _bench_mypy(loops=20, *, legacy=False): # so "elapsed" covers more than just how long main() takes. t0 = pyperf.perf_counter() try: - main(None, devnull, devnull, TARGETS) + main(None, devnull, devnull, TARGETS, clean_exit=True) except SystemExit: pass t1 = pyperf.perf_counter()