Skip to content

Commit 7652c2b

Browse files
committed
Skip dask on pypy
1 parent 6ce1dfc commit 7652c2b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyperformance/data-files/benchmarks/bm_dask/run_benchmark.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
import pyperf
1313

1414

15+
IS_PYPY = (pyperf.python_implementation() == 'pypy')
16+
17+
1518
def inc(x):
1619
return x + 1
1720

@@ -31,4 +34,5 @@ async def benchmark():
3134
if __name__ == "__main__":
3235
runner = pyperf.Runner()
3336
runner.metadata['description'] = "Benchmark dask"
34-
runner.bench_async_func('dask', benchmark)
37+
if not IS_PYPY:
38+
runner.bench_async_func('dask', benchmark)

0 commit comments

Comments
 (0)