holobench 1.38.0__tar.gz → 1.40.0__tar.gz

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.
Files changed (111) hide show
  1. {holobench-1.38.0 → holobench-1.40.0}/PKG-INFO +7 -7
  2. {holobench-1.38.0 → holobench-1.40.0}/bencher/bench_runner.py +15 -0
  3. {holobench-1.38.0 → holobench-1.40.0}/pyproject.toml +7 -7
  4. {holobench-1.38.0 → holobench-1.40.0}/.gitignore +0 -0
  5. {holobench-1.38.0 → holobench-1.40.0}/LICENSE +0 -0
  6. {holobench-1.38.0 → holobench-1.40.0}/README.md +0 -0
  7. {holobench-1.38.0 → holobench-1.40.0}/bencher/__init__.py +0 -0
  8. {holobench-1.38.0 → holobench-1.40.0}/bencher/bench_cfg.py +0 -0
  9. {holobench-1.38.0 → holobench-1.40.0}/bencher/bench_plot_server.py +0 -0
  10. {holobench-1.38.0 → holobench-1.40.0}/bencher/bench_report.py +0 -0
  11. {holobench-1.38.0 → holobench-1.40.0}/bencher/bencher.py +0 -0
  12. {holobench-1.38.0 → holobench-1.40.0}/bencher/caching.py +0 -0
  13. {holobench-1.38.0 → holobench-1.40.0}/bencher/class_enum.py +0 -0
  14. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/__init__.py +0 -0
  15. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/benchmark_data.py +0 -0
  16. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_all.py +0 -0
  17. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_categorical.py +0 -0
  18. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_composable_container.py +0 -0
  19. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_composable_container2.py +0 -0
  20. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_consts.py +0 -0
  21. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_custom_sweep.py +0 -0
  22. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_custom_sweep2.py +0 -0
  23. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_dataframe.py +0 -0
  24. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_docs.py +0 -0
  25. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_filepath.py +0 -0
  26. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_float3D.py +0 -0
  27. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_float_cat.py +0 -0
  28. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_floats.py +0 -0
  29. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_floats2D.py +0 -0
  30. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_holosweep.py +0 -0
  31. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_holosweep_objects.py +0 -0
  32. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_holosweep_tap.py +0 -0
  33. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_image.py +0 -0
  34. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_image1.py +0 -0
  35. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_levels.py +0 -0
  36. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_levels2.py +0 -0
  37. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_pareto.py +0 -0
  38. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_publish.py +0 -0
  39. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_rerun.py +0 -0
  40. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_rerun2.py +0 -0
  41. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_sample_cache.py +0 -0
  42. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_sample_cache_context.py +0 -0
  43. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_simple.py +0 -0
  44. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_simple_bool.py +0 -0
  45. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_simple_cat.py +0 -0
  46. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_simple_float.py +0 -0
  47. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_simple_float2d.py +0 -0
  48. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_strings.py +0 -0
  49. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_time_event.py +0 -0
  50. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_video.py +0 -0
  51. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/example_workflow.py +0 -0
  52. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_bokeh_plotly.py +0 -0
  53. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_hover_ex.py +0 -0
  54. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_hvplot_explorer.py +0 -0
  55. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_interactive.py +0 -0
  56. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_streamnd.py +0 -0
  57. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_streams.py +0 -0
  58. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_template.py +0 -0
  59. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_updates.py +0 -0
  60. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/experimental/example_vector.py +0 -0
  61. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/inputs_0D/example_0_in_1_out.py +0 -0
  62. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/inputs_0D/example_0_in_2_out.py +0 -0
  63. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/inputs_1D/example1d_common.py +0 -0
  64. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/inputs_1D/example_1_in_1_out.py +0 -0
  65. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/inputs_1D/example_1_in_2_out.py +0 -0
  66. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/inputs_1D/example_1_in_2_out_repeats.py +0 -0
  67. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/meta/__init__.py +0 -0
  68. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/meta/example_meta.py +0 -0
  69. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/meta/example_meta_cat.py +0 -0
  70. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/meta/example_meta_float.py +0 -0
  71. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/meta/example_meta_levels.py +0 -0
  72. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/meta/generate_examples.py +0 -0
  73. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/meta/generate_meta.py +0 -0
  74. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/optuna/example_optuna.py +0 -0
  75. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/shelved/example_float2D_scatter.py +0 -0
  76. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/shelved/example_float3D_cone.py +0 -0
  77. {holobench-1.38.0 → holobench-1.40.0}/bencher/example/shelved/example_kwargs.py +0 -0
  78. {holobench-1.38.0 → holobench-1.40.0}/bencher/flask_server.py +0 -0
  79. {holobench-1.38.0 → holobench-1.40.0}/bencher/job.py +0 -0
  80. {holobench-1.38.0 → holobench-1.40.0}/bencher/optuna_conversions.py +0 -0
  81. {holobench-1.38.0 → holobench-1.40.0}/bencher/plotting/__init__.py +0 -0
  82. {holobench-1.38.0 → holobench-1.40.0}/bencher/plotting/plot_filter.py +0 -0
  83. {holobench-1.38.0 → holobench-1.40.0}/bencher/plotting/plt_cnt_cfg.py +0 -0
  84. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/__init__.py +0 -0
  85. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/bench_result.py +0 -0
  86. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/bench_result_base.py +0 -0
  87. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/composable_container/__init__.py +0 -0
  88. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/composable_container/composable_container_base.py +0 -0
  89. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/composable_container/composable_container_dataframe.py +0 -0
  90. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/composable_container/composable_container_panel.py +0 -0
  91. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/composable_container/composable_container_video.py +0 -0
  92. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/dataset_result.py +0 -0
  93. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/float_formatter.py +0 -0
  94. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/holoview_result.py +0 -0
  95. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/hvplot_result.py +0 -0
  96. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/optuna_result.py +0 -0
  97. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/panel_result.py +0 -0
  98. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/plotly_result.py +0 -0
  99. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/video_result.py +0 -0
  100. {holobench-1.38.0 → holobench-1.40.0}/bencher/results/video_summary.py +0 -0
  101. {holobench-1.38.0 → holobench-1.40.0}/bencher/utils.py +0 -0
  102. {holobench-1.38.0 → holobench-1.40.0}/bencher/utils_rerun.py +0 -0
  103. {holobench-1.38.0 → holobench-1.40.0}/bencher/variables/__init__.py +0 -0
  104. {holobench-1.38.0 → holobench-1.40.0}/bencher/variables/inputs.py +0 -0
  105. {holobench-1.38.0 → holobench-1.40.0}/bencher/variables/parametrised_sweep.py +0 -0
  106. {holobench-1.38.0 → holobench-1.40.0}/bencher/variables/results.py +0 -0
  107. {holobench-1.38.0 → holobench-1.40.0}/bencher/variables/sweep_base.py +0 -0
  108. {holobench-1.38.0 → holobench-1.40.0}/bencher/variables/time.py +0 -0
  109. {holobench-1.38.0 → holobench-1.40.0}/bencher/video_writer.py +0 -0
  110. {holobench-1.38.0 → holobench-1.40.0}/bencher/worker_job.py +0 -0
  111. {holobench-1.38.0 → holobench-1.40.0}/resource/bencher +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: holobench
3
- Version: 1.38.0
3
+ Version: 1.40.0
4
4
  Summary: A package for benchmarking the performance of arbitrary functions
5
5
  Project-URL: Repository, https://github.com/dyson-ai/bencher
6
6
  Project-URL: Home, https://github.com/dyson-ai/bencher
@@ -14,18 +14,18 @@ Requires-Dist: holoviews<=1.20.0,>=1.15
14
14
  Requires-Dist: hvplot<=0.10.0,>=0.8
15
15
  Requires-Dist: matplotlib<=3.10.0,>=3.6.3
16
16
  Requires-Dist: moviepy-fix-codec
17
- Requires-Dist: numpy<=2.2.1,>=1.0
18
- Requires-Dist: optuna<=4.1.0,>=3.2
17
+ Requires-Dist: numpy<=2.2.2,>=1.0
18
+ Requires-Dist: optuna<=4.2.0,>=3.2
19
19
  Requires-Dist: pandas<=2.2.3,>=2.0
20
- Requires-Dist: panel<=1.5.5,>=1.3.6
20
+ Requires-Dist: panel<=1.6.0,>=1.3.6
21
21
  Requires-Dist: param<=2.2.0,>=1.13.0
22
- Requires-Dist: plotly<=5.24.1,>=5.15
23
- Requires-Dist: scikit-learn<=1.6.0,>=1.2
22
+ Requires-Dist: plotly<=6.0.0,>=5.15
23
+ Requires-Dist: scikit-learn<=1.6.1,>=1.2
24
24
  Requires-Dist: scoop<=0.7.2.0,>=0.7.0
25
25
  Requires-Dist: sortedcontainers<=2.4,>=2.4
26
26
  Requires-Dist: str2bool<=1.1,>=1.1
27
27
  Requires-Dist: strenum<=0.4.15,>=0.4.0
28
- Requires-Dist: xarray<=2024.11.0,>=2023.7
28
+ Requires-Dist: xarray<=2025.1.2,>=2023.7
29
29
  Provides-Extra: rerun
30
30
  Requires-Dist: flask; extra == 'rerun'
31
31
  Requires-Dist: flask-cors; extra == 'rerun'
@@ -138,6 +138,21 @@ class BenchRunner:
138
138
  if show:
139
139
  self.servers.append(report.show(self.run_cfg))
140
140
 
141
+ def show(
142
+ self,
143
+ report: BenchReport = None,
144
+ show: bool = True,
145
+ publish: bool = False,
146
+ save: bool = False,
147
+ debug: bool = False,
148
+ ):
149
+ if report is None:
150
+ if len(self.results) > 0:
151
+ report = self.results[-1].report
152
+ else:
153
+ raise RuntimeError("no reports to show")
154
+ self.show_publish(report=report, show=show, publish=publish, save=save, debug=debug)
155
+
141
156
  def shutdown(self):
142
157
  while self.servers:
143
158
  self.servers.pop().stop()
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "holobench"
3
- version = "1.38.0"
3
+ version = "1.40.0"
4
4
 
5
5
  authors = [{ name = "Austin Gregg-Smith", email = "blooop@gmail.com" }]
6
6
  description = "A package for benchmarking the performance of arbitrary functions"
@@ -11,19 +11,19 @@ requires-python = ">=3.10,<3.13"
11
11
 
12
12
  dependencies = [
13
13
  "holoviews>=1.15,<=1.20.0",
14
- "numpy>=1.0,<=2.2.1",
14
+ "numpy>=1.0,<=2.2.2",
15
15
  "param>=1.13.0,<=2.2.0",
16
16
  "hvplot>=0.8,<=0.10.0", #greater versions cause an error
17
17
  "matplotlib>=3.6.3,<=3.10.0",
18
- "panel>=1.3.6,<=1.5.5",
18
+ "panel>=1.3.6,<=1.6.0",
19
19
  "diskcache>=5.6,<=5.6.3",
20
- "optuna>=3.2,<=4.1.0",
21
- "xarray>=2023.7,<=2024.11.0",
22
- "plotly>=5.15,<=5.24.1",
20
+ "optuna>=3.2,<=4.2.0",
21
+ "xarray>=2023.7,<=2025.1.2",
22
+ "plotly>=5.15,<=6.0.0",
23
23
  "sortedcontainers>=2.4,<=2.4",
24
24
  "pandas>=2.0,<=2.2.3",
25
25
  "strenum>=0.4.0,<=0.4.15",
26
- "scikit-learn>=1.2,<=1.6.0",
26
+ "scikit-learn>=1.2,<=1.6.1",
27
27
  "str2bool>=1.1,<=1.1",
28
28
  "scoop>=0.7.0,<=0.7.2.0",
29
29
  "moviepy-fix-codec",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes