holobench 1.25.0__py3-none-any.whl → 1.25.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
bencher/bencher.py CHANGED
@@ -505,9 +505,12 @@ class Bench(BenchPlotServer):
505
505
  variable = self.worker_class_instance.param.objects(instance=False)[variable]
506
506
  if isinstance(variable, dict):
507
507
  param_var = self.worker_class_instance.param.objects(instance=False)[variable["name"]]
508
- if variable["values"] is not None:
508
+ if variable.get("values"):
509
509
  param_var = param_var.with_sample_values(variable["values"])
510
- if variable["max_level"] is not None:
510
+
511
+ if variable.get("samples"):
512
+ param_var = param_var.with_samples(variable["samples"])
513
+ if variable.get("max_level"):
511
514
  if run_cfg is not None:
512
515
  param_var = param_var.with_level(run_cfg.level, variable["max_level"])
513
516
  variable = param_var
@@ -1,10 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: holobench
3
- Version: 1.25.0
3
+ Version: 1.25.2
4
4
  Summary: A package for benchmarking the performance of arbitrary functions
5
5
  Author-email: Austin Gregg-Smith <blooop@gmail.com>
6
- Maintainer: austin.gregg-smith
7
- Maintainer-email: austin.gregg-smith@dyson.com
8
6
  Project-URL: Repository, https://github.com/dyson-ai/bencher
9
7
  Project-URL: Home, https://github.com/dyson-ai/bencher
10
8
  Project-URL: Documentation, https://bencher.readthedocs.io/en/latest/
@@ -29,11 +27,11 @@ Requires-Dist: scoop <=0.7.2.0,>=0.7.0
29
27
  Requires-Dist: moviepy <=1.0.3,>=1.0.3
30
28
  Provides-Extra: test
31
29
  Requires-Dist: black <=24.4.2,>=23 ; extra == 'test'
32
- Requires-Dist: pylint <=3.2.2,>=2.17.7 ; extra == 'test'
30
+ Requires-Dist: pylint <=3.2.3,>=2.17.7 ; extra == 'test'
33
31
  Requires-Dist: pytest-cov <=5.0.0,>=4.1 ; extra == 'test'
34
- Requires-Dist: pytest <=8.2.1,>=7.4 ; extra == 'test'
35
- Requires-Dist: hypothesis <=6.103.0,>=6.82 ; extra == 'test'
36
- Requires-Dist: ruff <=0.4.7,>=0.3 ; extra == 'test'
32
+ Requires-Dist: pytest <=8.2.2,>=7.4 ; extra == 'test'
33
+ Requires-Dist: hypothesis <=6.103.1,>=6.82 ; extra == 'test'
34
+ Requires-Dist: ruff <=0.4.8,>=0.0.280 ; extra == 'test'
37
35
  Requires-Dist: coverage <=7.5.3,>=7.2.7 ; extra == 'test'
38
36
 
39
37
  # Bencher
@@ -3,7 +3,7 @@ bencher/bench_cfg.py,sha256=8rvJyeQXalZmYF8Lb-NKb9RFJs0w08k9ogcZSR1rhgs,18413
3
3
  bencher/bench_plot_server.py,sha256=D00_SOrHa2IT8zAjwetoNL6tEiHSHvXnbea9iElCLVk,4195
4
4
  bencher/bench_report.py,sha256=jh3T_q9KByZDeMPMf0KNJojZukxRzkfaYGeuWQU8MKM,10528
5
5
  bencher/bench_runner.py,sha256=-SzAKd6QbPJ05KaW3vteFIkE-UtlFS55Ob9QeE5eRXw,6202
6
- bencher/bencher.py,sha256=45CaQhe9ATh4zdUBwWER_9qQWoc_U6rGeZbPa0bCXEc,34545
6
+ bencher/bencher.py,sha256=-7XaSZWVzaXHQcKlHqPiUwsrKzYlPKBrimh9ahp8vsI,34642
7
7
  bencher/caching.py,sha256=AusaNrzGGlj5m6zcwcqnTn55Mam2mQdF--oqelO806M,1627
8
8
  bencher/class_enum.py,sha256=kYHW9qKkKcNdwaXizZL-fTptS_DUEGv4c88yCehk3gc,1492
9
9
  bencher/job.py,sha256=swa0VwrZf41v7qNjreVDIYUU6r_dfuLipPZbg_w5x7c,6089
@@ -11,10 +11,8 @@ bencher/optuna_conversions.py,sha256=an-LfPsQXyyvhIZnG8Wl1RQVYMvJj7WOi3YNqoUnuxQ
11
11
  bencher/utils.py,sha256=9KAThtIG8jNd0nd4Wft8miNM_yHWmZUkIBfJh19pzgI,6480
12
12
  bencher/video_writer.py,sha256=B-V1tALd3oPDytaAsl8I6qUztDQlFbkp9gSYco-ah44,2175
13
13
  bencher/worker_job.py,sha256=FREi0yWQACFmH86R1j-LH72tALEFkKhLDmmoGQY9Jh4,1571
14
- holobench-1.25.0.data/data/share/ament_index/resource_index/packages/bencher,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- holobench-1.25.0.data/data/share/bencher/package.xml,sha256=HxWM9qIEiLbE60tG0aKsS7q3UaSKDyCMD4-1nYw8vOs,1045
16
- holobench-1.25.0.dist-info/LICENSE,sha256=dSHXTdRY4Y7qGFMv63UksV700iff7iE-p7GGs6Sbnvo,1065
17
- holobench-1.25.0.dist-info/METADATA,sha256=pExSccJNRC6UWisUwAdp5PmWCNVhm1VvkhZ-gShZtw8,5691
18
- holobench-1.25.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
19
- holobench-1.25.0.dist-info/top_level.txt,sha256=rkP5-F_W08mOD-25ZPkt0HJsHxedb2EiRcRA7IP6Ceg,8
20
- holobench-1.25.0.dist-info/RECORD,,
14
+ holobench-1.25.2.dist-info/LICENSE,sha256=dSHXTdRY4Y7qGFMv63UksV700iff7iE-p7GGs6Sbnvo,1065
15
+ holobench-1.25.2.dist-info/METADATA,sha256=Tq6Q-IbUGYSVrbSDe212fY27PWyfxrkhbBVNI4_2UCI,5617
16
+ holobench-1.25.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
17
+ holobench-1.25.2.dist-info/top_level.txt,sha256=rkP5-F_W08mOD-25ZPkt0HJsHxedb2EiRcRA7IP6Ceg,8
18
+ holobench-1.25.2.dist-info/RECORD,,
@@ -1,33 +0,0 @@
1
- <?xml version="1.0"?>
2
- <package format="3">
3
- <name>bencher</name>
4
- <version>0.1.0</version>
5
- <description>A package for benchmarking the performance of arbitrary functions</description>
6
- <maintainer email="austin.gregg-smith@dyson.com">Austin Gregg-Smith</maintainer>
7
- <license>MIT</license>
8
-
9
- <depend>python3-diskcache</depend>
10
-
11
- <depend>python3-pandas</depend>
12
- <depend>python3-seaborn</depend>
13
- <depend>python3-matplotlib</depend>
14
- <depend>python3-numpy</depend>
15
- <depend>python3-pytest</depend>
16
- <depend>python3-hypothesis</depend>
17
- <depend>xarray</depend>
18
- <depend>python3-zarr</depend>
19
- <depend>python3-param</depend>
20
- <depend>python3-panel</depend>
21
- <depend>python3-hvplot</depend>
22
- <depend>python3-optuna</depend>
23
- <depend>python3-plotly</depend>
24
-
25
- <!-- TO REMOVE WHEN WE UPGRADE TO PYTHON 3.11, This is in the standard library for python>=3.11 -->
26
- <depend>strenum</depend>
27
-
28
- <test_depend>python3-pytest-cov</test_depend>
29
-
30
- <export>
31
- <build_type>ament_python</build_type>
32
- </export>
33
- </package>