Closed blooop closed 3 months ago
This pull request refactors the code to replace the usage of BenchMeta.param
with a more concise bch.p
function for defining sample values in various example files. This change aims to simplify the code and make it more readable.
Files | Changes |
---|---|
bencher/example/meta/example_meta.py bencher/example/meta/example_meta_cat.py bencher/example/meta/example_meta_levels.py bencher/example/meta/example_meta_float.py |
Replaced BenchMeta.param with bch.p for defining sample values in various meta example files. |
bencher/example/example_composable_container.py bencher/example/example_composable_container2.py |
Replaced commented out BenchComposableContainerImage.param with bch.p for defining sample values in composable container example files. |
Summary by Sourcery
Replaced the usage of 'with_sample_values' method with a new 'bch.p' function for defining sample values in various example scripts.