zarr-developers / perfcapture

Capture the performance of a computer system whilst running a set of benchmark workloads.
MIT License
2 stars 2 forks source link

Implement parameterised `Workload.run` & `Dataset.prepare` methods #6

Closed JackKelly closed 1 year ago

JackKelly commented 1 year ago

Using same semantics as pytest.

https://github.com/pytest-dev/pytest/blob/main/src/_pytest/mark/structures.py#L151

JackKelly commented 1 year ago

I have implemented a parametrize decorator. But, actually, I'm starting to think that's the wrong way to parameterize the creation of datasets. I think it's easier to just have multiple Dataset subclasses (one for each version).