holobench 1.12.0__py2.py3-none-any.whl → 1.15.0__py2.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
@@ -384,12 +384,12 @@ class Bench(BenchPlotServer):
|
|
384
384
|
)
|
385
385
|
|
386
386
|
if plot_callbacks is None:
|
387
|
-
|
388
|
-
else:
|
389
|
-
if isinstance(plot_callbacks, bool):
|
390
|
-
plot_callbacks = [BenchResult.to_auto_plots] if plot_callbacks else []
|
391
|
-
elif len(self.plot_callbacks) == 0:
|
387
|
+
if self.plot_callbacks is not None and len(self.plot_callbacks) == 0:
|
392
388
|
plot_callbacks = [BenchResult.to_auto_plots]
|
389
|
+
else:
|
390
|
+
plot_callbacks = self.plot_callbacks
|
391
|
+
elif isinstance(plot_callbacks, bool):
|
392
|
+
plot_callbacks = [BenchResult.to_auto_plots] if plot_callbacks else []
|
393
393
|
|
394
394
|
bench_cfg = BenchCfg(
|
395
395
|
input_vars=input_vars,
|
bencher/results/bench_result.py
CHANGED
@@ -20,7 +20,7 @@ class BenchResult(PlotlyResult, HoloviewResult, VideoSummaryResult):
|
|
20
20
|
@staticmethod
|
21
21
|
def default_plot_callbacks():
|
22
22
|
return [
|
23
|
-
VideoSummaryResult.to_video_summary,
|
23
|
+
# VideoSummaryResult.to_video_summary, #quite expensive so not turned on by default
|
24
24
|
HoloviewResult.to_bar,
|
25
25
|
HoloviewResult.to_scatter_jitter,
|
26
26
|
HoloviewResult.to_curve,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: holobench
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.15.0
|
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
|
@@ -25,9 +25,9 @@ Requires-Dist: black>=23,<=24.4.2 ; extra == "test"
|
|
25
25
|
Requires-Dist: pylint>=2.16,<=3.1.0 ; extra == "test"
|
26
26
|
Requires-Dist: pytest-cov>=4.1,<=5.0.0 ; extra == "test"
|
27
27
|
Requires-Dist: pytest>=7.4,<=8.2.0 ; extra == "test"
|
28
|
-
Requires-Dist: hypothesis>=6.82,<=6.
|
29
|
-
Requires-Dist: ruff>=0.0.280,<=0.4.
|
30
|
-
Requires-Dist: coverage>=7.2.7,<=7.5.
|
28
|
+
Requires-Dist: hypothesis>=6.82,<=6.101.0 ; extra == "test"
|
29
|
+
Requires-Dist: ruff>=0.0.280,<=0.4.4 ; extra == "test"
|
30
|
+
Requires-Dist: coverage>=7.2.7,<=7.5.1 ; extra == "test"
|
31
31
|
Project-URL: Documentation, https://bencher.readthedocs.io/en/latest/
|
32
32
|
Project-URL: Home, https://github.com/dyson-ai/bencher
|
33
33
|
Project-URL: Repository, https://github.com/dyson-ai/bencher
|
@@ -3,7 +3,7 @@ bencher/bench_cfg.py,sha256=9Vnm_TUKTweywLE_csLwe_h9cDga2POBDywoFqe3e3k,18637
|
|
3
3
|
bencher/bench_plot_server.py,sha256=ZePbN9lKMQggONYMBW0CJm9saLjmxtdeAEs6eiei_8g,4088
|
4
4
|
bencher/bench_report.py,sha256=jh3T_q9KByZDeMPMf0KNJojZukxRzkfaYGeuWQU8MKM,10528
|
5
5
|
bencher/bench_runner.py,sha256=F4DN1YSFXnUAGO17tJ6DZDyEu7QBgvTyqn8G_iCd36c,6165
|
6
|
-
bencher/bencher.py,sha256=
|
6
|
+
bencher/bencher.py,sha256=oz5Lio-lml26epS5-F3rOndfncxMwRR2s5K0tjPm0c0,32985
|
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
|
@@ -58,7 +58,7 @@ bencher/plotting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
58
58
|
bencher/plotting/plot_filter.py,sha256=Zff02hEcRffiqDEoXUHVZQJK5kW4HbMxe2GYCrxI8jg,4688
|
59
59
|
bencher/plotting/plt_cnt_cfg.py,sha256=BkiAsgHm35Mqb5OsjULGVK0Q6pGZ0WSsJxxwSOrbaQs,3124
|
60
60
|
bencher/results/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
61
|
-
bencher/results/bench_result.py,sha256=
|
61
|
+
bencher/results/bench_result.py,sha256=JoXfAQ2dkoVt2mBM0Hp5V0843CWcSCuBfR817VhLVx0,3491
|
62
62
|
bencher/results/bench_result_base.py,sha256=5V4n_lbgF19mud8h7wIxc_vg7nr3ZeWaj6AK0E7KmLg,18713
|
63
63
|
bencher/results/float_formatter.py,sha256=sX6HNCyaXdHDxC8ybVUHwCJ3qOKbPUkBOplVIHtKWjM,1746
|
64
64
|
bencher/results/holoview_result.py,sha256=MAwDjT6ggChzgHyb2ri21pp3Ak2Z7SYczTEMvSqL3as,22247
|
@@ -76,6 +76,6 @@ bencher/variables/parametrised_sweep.py,sha256=OSEVTYzsN2ayc0BQAN0lC441z5UDUy2kc
|
|
76
76
|
bencher/variables/results.py,sha256=8i5qYWZ4KILWL1qT07mLIssUQXDKEx6CnXPgFZJB8jw,6121
|
77
77
|
bencher/variables/sweep_base.py,sha256=cOybffErb3_QUsCfiZa0mlVy9tGDueqiElZmc363apE,6258
|
78
78
|
bencher/variables/time.py,sha256=Up1VOTwoOi-HchRlCh-K1PRR8FvhZyNqLDUODa0erHA,2659
|
79
|
-
holobench-1.
|
80
|
-
holobench-1.
|
81
|
-
holobench-1.
|
79
|
+
holobench-1.15.0.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
80
|
+
holobench-1.15.0.dist-info/METADATA,sha256=PxbdrdrzqNKLZgGcFm5puETLESv0cJVy0yV5pU1mlVY,5112
|
81
|
+
holobench-1.15.0.dist-info/RECORD,,
|
File without changes
|