Skip to content

Commit

Permalink
Skip dask rolling (#9909)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Illviljan and pre-commit-ci[bot] authored Dec 18, 2024
1 parent 29bea84 commit a90fff9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion asv_bench/benchmarks/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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})
Expand Down

0 comments on commit a90fff9

Please sign in to comment.