holobench 1.16.0__tar.gz → 1.17.1__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.
- {holobench-1.16.0 → holobench-1.17.1}/PKG-INFO +4 -4
- {holobench-1.16.0 → holobench-1.17.1}/bencher/bench_plot_server.py +4 -1
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/holoview_result.py +5 -2
- {holobench-1.16.0 → holobench-1.17.1}/pyproject.toml +4 -4
- {holobench-1.16.0 → holobench-1.17.1}/README.md +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/__init__.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/bench_cfg.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/bench_report.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/bench_runner.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/bencher.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/caching.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/class_enum.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/__init__.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/benchmark_data.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_all.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_categorical.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_custom_sweep.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_docs.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_float3D.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_float_cat.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_floats.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_floats2D.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_holosweep.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_holosweep_objects.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_holosweep_tap.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_image.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_levels.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_pareto.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_sample_cache.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_sample_cache_context.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_simple.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_simple_bool.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_simple_cat.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_simple_float.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_strings.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_time_event.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_video.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/example_workflow.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_bokeh_plotly.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_hover_ex.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_hvplot_explorer.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_interactive.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_streamnd.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_streams.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_template.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_updates.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_vector.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/meta/example_meta.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/meta/example_meta_cat.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/meta/example_meta_float.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/meta/example_meta_levels.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/optuna/example_optuna.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/shelved/example_float2D_scatter.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/shelved/example_float3D_cone.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/example/shelved/example_kwargs.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/job.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/optuna_conversions.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/plotting/__init__.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/plotting/plot_filter.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/plotting/plt_cnt_cfg.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/__init__.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/bench_result.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/bench_result_base.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/composable_container/__init__.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/composable_container/composable_container_base.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/composable_container/composable_container_panel.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/composable_container/composable_container_video.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/float_formatter.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/optuna_result.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/panel_result.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/plotly_result.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/video_result.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/results/video_summary.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/utils.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/variables/inputs.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/variables/parametrised_sweep.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/variables/results.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/variables/sweep_base.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/variables/time.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/video_writer.py +0 -0
- {holobench-1.16.0 → holobench-1.17.1}/bencher/worker_job.py +0 -0
@@ -1,19 +1,19 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: holobench
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.17.1
|
4
4
|
Summary: A package for benchmarking the performance of arbitrary functions
|
5
5
|
Author-email: Austin Gregg-Smith <blooop@gmail.com>
|
6
6
|
Description-Content-Type: text/markdown
|
7
7
|
Requires-Dist: holoviews>=1.15,<=1.18.3
|
8
8
|
Requires-Dist: numpy>=1.0,<=1.26.4
|
9
9
|
Requires-Dist: param>=1.13.0,<=2.1.0
|
10
|
-
Requires-Dist: hvplot>=0.8,<=0.
|
10
|
+
Requires-Dist: hvplot>=0.8,<=0.10.0
|
11
11
|
Requires-Dist: matplotlib>=3.6.3,<=3.8.4
|
12
12
|
Requires-Dist: panel>=1.3.6,<=1.4.2
|
13
13
|
Requires-Dist: diskcache>=5.6,<=5.6.3
|
14
14
|
Requires-Dist: optuna>=3.2,<=3.6.1
|
15
|
-
Requires-Dist: xarray>=2023.7,<=2024.
|
16
|
-
Requires-Dist: plotly>=5.15,<=5.
|
15
|
+
Requires-Dist: xarray>=2023.7,<=2024.5.0
|
16
|
+
Requires-Dist: plotly>=5.15,<=5.22.0
|
17
17
|
Requires-Dist: sortedcontainers>=2.4,<=2.4
|
18
18
|
Requires-Dist: pandas>=2.0,<=2.2.2
|
19
19
|
Requires-Dist: strenum>=0.4.0,<=0.4.15
|
@@ -87,6 +87,10 @@ class BenchPlotServer:
|
|
87
87
|
port (int): use a fixed port to lauch the server
|
88
88
|
"""
|
89
89
|
|
90
|
+
# suppress verbose tornado and bokeh output
|
91
|
+
for logger in ["tornado", "bokeh"]:
|
92
|
+
logging.getLogger(logger).setLevel(logging.WARNING)
|
93
|
+
|
90
94
|
if port is not None:
|
91
95
|
return pn.serve(
|
92
96
|
plots_instance,
|
@@ -97,5 +101,4 @@ class BenchPlotServer:
|
|
97
101
|
show=show,
|
98
102
|
)
|
99
103
|
|
100
|
-
logging.getLogger().setLevel(logging.WARNING)
|
101
104
|
return pn.serve(plots_instance, title=bench_name, threaded=True, show=show)
|
@@ -15,9 +15,11 @@ from bencher.results.bench_result_base import ReduceType
|
|
15
15
|
from bencher.plotting.plot_filter import PlotFilter, VarRange
|
16
16
|
from bencher.variables.results import ResultVar, ResultImage, ResultVideo
|
17
17
|
|
18
|
-
|
19
18
|
hv.extension("bokeh", "plotly")
|
20
19
|
|
20
|
+
# Flag to enable or disable tap tool functionality in visualizations
|
21
|
+
use_tap = True
|
22
|
+
|
21
23
|
|
22
24
|
class HoloviewResult(PanelResult):
|
23
25
|
@staticmethod
|
@@ -240,7 +242,7 @@ class HoloviewResult(PanelResult):
|
|
240
242
|
def result_var_to_container(self, result_var):
|
241
243
|
if isinstance(result_var, ResultImage):
|
242
244
|
return pn.pane.PNG
|
243
|
-
return pn.pane.Video if isinstance(result_var, ResultVideo) else pn.
|
245
|
+
return pn.pane.Video if isinstance(result_var, ResultVideo) else pn.Column
|
244
246
|
|
245
247
|
def setup_results_and_containers(self, result_var_plots, container, **kwargs):
|
246
248
|
result_var_plots = listify(result_var_plots)
|
@@ -303,6 +305,7 @@ class HoloviewResult(PanelResult):
|
|
303
305
|
val = ds.sel(**kdims)
|
304
306
|
item = self.zero_dim_da_to_val(val)
|
305
307
|
title.object = "Selected: " + ", ".join([f"{k}:{v}" for k, v in kdims.items()])
|
308
|
+
|
306
309
|
cont.object = item
|
307
310
|
if hasattr(cont, "autoplay"): # container is a video, set to autoplay
|
308
311
|
cont.paused = False
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "holobench"
|
3
|
-
version = "1.
|
3
|
+
version = "1.17.1"
|
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"
|
@@ -14,13 +14,13 @@ dependencies = [
|
|
14
14
|
"holoviews>=1.15,<=1.18.3",
|
15
15
|
"numpy>=1.0,<=1.26.4",
|
16
16
|
"param>=1.13.0,<=2.1.0",
|
17
|
-
"hvplot>=0.8,<=0.
|
17
|
+
"hvplot>=0.8,<=0.10.0",
|
18
18
|
"matplotlib>=3.6.3,<=3.8.4",
|
19
19
|
"panel>=1.3.6,<=1.4.2",
|
20
20
|
"diskcache>=5.6,<=5.6.3",
|
21
21
|
"optuna>=3.2,<=3.6.1",
|
22
|
-
"xarray>=2023.7,<=2024.
|
23
|
-
"plotly>=5.15,<=5.
|
22
|
+
"xarray>=2023.7,<=2024.5.0",
|
23
|
+
"plotly>=5.15,<=5.22.0",
|
24
24
|
"sortedcontainers>=2.4,<=2.4",
|
25
25
|
"pandas>=2.0,<=2.2.2",
|
26
26
|
"strenum>=0.4.0,<=0.4.15",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{holobench-1.16.0 → holobench-1.17.1}/bencher/example/experimental/example_hvplot_explorer.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|