holobench 1.38.0__py3-none-any.whl → 1.40.0__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/bench_runner.py CHANGED
@@ -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
  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'
@@ -2,7 +2,7 @@ bencher/__init__.py,sha256=hWfQxlvuHRsFK4ZPCpRXo3nDzQB52JOUoi67wcnhopE,1890
2
2
  bencher/bench_cfg.py,sha256=gEpF1J4RAxCQPSkI8npKfhw-o3-8cw80TjiWK7As5WE,18417
3
3
  bencher/bench_plot_server.py,sha256=nvGTr981XgWELqV7yID91j6V1UIPGtKilzxHcNWaZ6Q,4196
4
4
  bencher/bench_report.py,sha256=ikMSHceyc8cYFH-sIza167DH-H-_iiTYDm2TmusUHDc,7515
5
- bencher/bench_runner.py,sha256=xoeXt8gcEhx5nAFsKBs8RmdkEyXUOyFd8mrEXyIxj3U,6531
5
+ bencher/bench_runner.py,sha256=wShmZ504BOKgHj0sOrGZtduyPfJHFFBfHRsz5tYy5_Q,7000
6
6
  bencher/bencher.py,sha256=-vbZIzBr2IYYG7be5Hh8IZgIGUysTxoxQUV6xUToH14,35437
7
7
  bencher/caching.py,sha256=AusaNrzGGlj5m6zcwcqnTn55Mam2mQdF--oqelO806M,1627
8
8
  bencher/class_enum.py,sha256=kYHW9qKkKcNdwaXizZL-fTptS_DUEGv4c88yCehk3gc,1492
@@ -104,7 +104,7 @@ bencher/variables/results.py,sha256=Wq14e8rAj5mcK22325wcaeTMjgZ6JuduqceAHItHFY8,
104
104
  bencher/variables/sweep_base.py,sha256=gfEhKvsb16ZLbe38JewZqu0AMOHpsqwRbZbt-aCg9Bc,6258
105
105
  bencher/variables/time.py,sha256=zcRS5p4ZkFjMta9nZMEuWv86rLnPkUSqyO69QwI5q3E,3142
106
106
  resource/bencher,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
- holobench-1.38.0.dist-info/METADATA,sha256=RpyHVpMAjg5irGvCWK8kPIMeLMhAd40SMCGZQYTMXUM,6848
108
- holobench-1.38.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
109
- holobench-1.38.0.dist-info/licenses/LICENSE,sha256=dSHXTdRY4Y7qGFMv63UksV700iff7iE-p7GGs6Sbnvo,1065
110
- holobench-1.38.0.dist-info/RECORD,,
107
+ holobench-1.40.0.dist-info/METADATA,sha256=hn3E2quLA2y2qpAyWnuGBOw5lvLG85A_dpUNDc8vO10,6846
108
+ holobench-1.40.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
109
+ holobench-1.40.0.dist-info/licenses/LICENSE,sha256=dSHXTdRY4Y7qGFMv63UksV700iff7iE-p7GGs6Sbnvo,1065
110
+ holobench-1.40.0.dist-info/RECORD,,