holobench 1.38.0__py3-none-any.whl → 1.39.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 +15 -0
- {holobench-1.38.0.dist-info → holobench-1.39.0.dist-info}/METADATA +1 -1
- {holobench-1.38.0.dist-info → holobench-1.39.0.dist-info}/RECORD +5 -5
- {holobench-1.38.0.dist-info → holobench-1.39.0.dist-info}/WHEEL +0 -0
- {holobench-1.38.0.dist-info → holobench-1.39.0.dist-info}/licenses/LICENSE +0 -0
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.
|
3
|
+
Version: 1.39.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
|
@@ -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=
|
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.
|
108
|
-
holobench-1.
|
109
|
-
holobench-1.
|
110
|
-
holobench-1.
|
107
|
+
holobench-1.39.0.dist-info/METADATA,sha256=Gg7yTS0RBzAm-0Z--FcKn2Wzvqseg_0fiEUuqXRGgtI,6848
|
108
|
+
holobench-1.39.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
109
|
+
holobench-1.39.0.dist-info/licenses/LICENSE,sha256=dSHXTdRY4Y7qGFMv63UksV700iff7iE-p7GGs6Sbnvo,1065
|
110
|
+
holobench-1.39.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|