Skip to content

Commit

Permalink
Merge branch 'main' into open_opt
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan authored Oct 20, 2023
2 parents 51e0151 + 8dddbca commit 5bb2969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asv_bench/benchmarks/dataset_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def load(self) -> tuple:
n_variables = 2000

# Important to have a shape and dtype for lazy loading.
shape = (1,)
shape = (1000,)
dtype = np.dtype(int)
variables = {
f"long_variable_name_{v}": xr.Variable(
Expand Down Expand Up @@ -643,7 +643,7 @@ def open_dataset(

self.engine = PerformanceBackend

@parameterized(["chunks"], ([None, {}]))
@parameterized(["chunks"], ([None, {}, {"time": 10}]))
def time_open_dataset(self, chunks):
"""
Time how fast xr.open_dataset is without the slow data reading part.
Expand Down

0 comments on commit 5bb2969

Please sign in to comment.