Skip to content

Commit

Permalink
Inflate benchmark data to ensure laziness.
Browse files Browse the repository at this point in the history
  • Loading branch information
trexfeathers committed Aug 18, 2023
1 parent 03ce69d commit cab1910
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class MixinCombineRegions:
# Characterise time taken + memory-allocated, for various stages of combine
# operations on cubesphere-like test data.
params = [4, 500]
params = [50, 500]
param_names = ["cubesphere-N"]

def _parametrised_cache_filename(self, n_cubesphere, content_name):
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchmarks/load/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class LoadAndRealise:
# For data generation
timeout = 600.0
params = [
[(2, 2, 2), (1280, 960, 5), (2, 2, 1000)],
[(50, 50, 2), (1280, 960, 5), (2, 2, 1000)],
[False, True],
["FF", "PP", "NetCDF"],
]
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchmarks/load/ugrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class DataRealisation:
warmup_time = 0.0
timeout = 300.0

params = [1, int(2e5)]
params = [int(1e4), int(2e5)]
param_names = ["number of faces"]

def setup_common(self, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchmarks/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


class NetcdfSave:
params = [[1, 600], [False, True]]
params = [[50, 600], [False, True]]
param_names = ["cubesphere-N", "is_unstructured"]

def setup(self, n_cubesphere, is_unstructured):
Expand Down

0 comments on commit cab1910

Please sign in to comment.