From a90fff99050463df5292ac6e87b1b94e65c70432 Mon Sep 17 00:00:00 2001 From: Illviljan <14371165+Illviljan@users.noreply.github.com> Date: Wed, 18 Dec 2024 23:58:22 +0100 Subject: [PATCH] Skip dask rolling (#9909) * Skip dask rolling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Clearer skip * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- asv_bench/benchmarks/rolling.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/asv_bench/benchmarks/rolling.py b/asv_bench/benchmarks/rolling.py index a19d17ff09a..4fa2e09c9c0 100644 --- a/asv_bench/benchmarks/rolling.py +++ b/asv_bench/benchmarks/rolling.py @@ -3,7 +3,7 @@ import xarray as xr -from . import parameterized, randn, requires_dask +from . import _skip_slow, parameterized, randn, requires_dask nx = 3000 long_nx = 30000 @@ -80,6 +80,9 @@ def time_rolling_construct(self, center, stride, use_bottleneck): class RollingDask(Rolling): def setup(self, *args, **kwargs): requires_dask() + # TODO: Lazily skipped in CI as it is very demanding and slow. + # Improve times and remove errors. + _skip_slow() super().setup(**kwargs) self.ds = self.ds.chunk({"x": 100, "y": 50, "t": 50}) self.da_long = self.da_long.chunk({"x": 10000})