holobench 1.26.3__tar.gz → 1.27.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.
- {holobench-1.26.3/holobench.egg-info → holobench-1.27.0}/PKG-INFO +1 -1
- {holobench-1.26.3 → holobench-1.27.0}/bencher/bench_report.py +6 -109
- {holobench-1.26.3 → holobench-1.27.0/holobench.egg-info}/PKG-INFO +1 -1
- {holobench-1.26.3 → holobench-1.27.0}/pyproject.toml +4 -11
- {holobench-1.26.3 → holobench-1.27.0}/LICENSE +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/MANIFEST.in +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/README.md +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/__init__.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/bench_cfg.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/bench_plot_server.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/bench_runner.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/bencher.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/caching.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/class_enum.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/__init__.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/benchmark_data.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_all.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_categorical.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_composable_container.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_composable_container2.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_consts.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_custom_sweep.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_custom_sweep2.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_docs.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_filepath.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_float3D.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_float_cat.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_floats.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_floats2D.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_holosweep.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_holosweep_objects.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_holosweep_tap.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_image.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_levels.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_levels2.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_pareto.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_sample_cache.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_sample_cache_context.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_simple.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_simple_bool.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_simple_cat.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_simple_float.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_simple_float2d.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_strings.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_time_event.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_video.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/example_workflow.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_bokeh_plotly.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_hover_ex.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_hvplot_explorer.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_interactive.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_streamnd.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_streams.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_template.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_updates.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/experimental/example_vector.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/meta/example_meta.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/meta/example_meta_cat.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/meta/example_meta_float.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/meta/example_meta_levels.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/optuna/example_optuna.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/shelved/example_float2D_scatter.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/shelved/example_float3D_cone.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/example/shelved/example_kwargs.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/job.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/optuna_conversions.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/plotting/__init__.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/plotting/plot_filter.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/plotting/plt_cnt_cfg.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/__init__.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/bench_result.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/bench_result_base.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/composable_container/__init__.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/composable_container/composable_container_base.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/composable_container/composable_container_panel.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/composable_container/composable_container_video.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/float_formatter.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/holoview_result.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/optuna_result.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/panel_result.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/plotly_result.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/video_result.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/results/video_summary.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/utils.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/variables/__init__.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/variables/inputs.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/variables/parametrised_sweep.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/variables/results.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/variables/sweep_base.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/variables/time.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/video_writer.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/bencher/worker_job.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/holobench.egg-info/SOURCES.txt +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/holobench.egg-info/dependency_links.txt +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/holobench.egg-info/not-zip-safe +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/holobench.egg-info/requires.txt +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/holobench.egg-info/top_level.txt +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/package.xml +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/resource/bencher +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/setup.cfg +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/setup.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_bch_p.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_bench_examples.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_bench_report.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_bench_result_base.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_bench_runner.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_bencher.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_cache.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_class_enum.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_combinations.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_composable_container_base.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_composable_container_video.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_float_formatter.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_job.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_meta_tests.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_parametrized_sweep.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_plot_filter.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_plot_server.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_sample_cache.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_sweep_base.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_sweep_vars.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_utils.py +0 -0
- {holobench-1.26.3 → holobench-1.27.0}/test/test_vars.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: holobench
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.27.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
|
Project-URL: Repository, https://github.com/dyson-ai/bencher
|
@@ -157,112 +157,9 @@ class BenchReport(BenchPlotServer):
|
|
157
157
|
|
158
158
|
return publish_url
|
159
159
|
|
160
|
-
|
161
|
-
# def
|
162
|
-
#
|
163
|
-
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# # Don't pickle baz
|
167
|
-
# del state["pane"]
|
168
|
-
# return state
|
169
|
-
|
170
|
-
# def __setstate__(self, state):
|
171
|
-
# self.__dict__.update(state)
|
172
|
-
# # Add baz back since it doesn't exist in the pickle
|
173
|
-
# self.report = []
|
174
|
-
|
175
|
-
# def publish_old(
|
176
|
-
# self,
|
177
|
-
# directory: str = "bench_results",
|
178
|
-
# branch_name: str = "bench_results",
|
179
|
-
# url_postprocess: Callable = None,
|
180
|
-
# **kwargs,
|
181
|
-
# ) -> str:
|
182
|
-
# """Publish the results as an html file by committing it to the bench_results branch in the current repo. If you have set up your repo with github pages or equivalent then the html file will be served as a viewable webpage.
|
183
|
-
|
184
|
-
# Args:
|
185
|
-
# directory (str, optional): Directory to save the results. Defaults to "bench_results".
|
186
|
-
# branch_name (str, optional): Branch to publish on. Defaults to "bench_results".
|
187
|
-
# url_postprocess (Callable, optional): A function that maps the origin url to a github pages url. Pass your own function if you are using another git providers. Defaults to None.
|
188
|
-
|
189
|
-
# Returns:
|
190
|
-
# str: _description_
|
191
|
-
# """
|
192
|
-
|
193
|
-
# def get_output(cmd: str) -> str:
|
194
|
-
# return (
|
195
|
-
# subprocess.run(cmd.split(" "), stdout=subprocess.PIPE, check=False)
|
196
|
-
# .stdout.decode("utf=8")
|
197
|
-
# .strip()
|
198
|
-
# )
|
199
|
-
|
200
|
-
# def postprocess_url(publish_url: str, branch_name: str, report_path: str, **kwargs) -> str:
|
201
|
-
# # import re
|
202
|
-
|
203
|
-
# # return re.sub(
|
204
|
-
# # """((git|ssh|http(s)?)|(git@[\w\.-]+))(:(//)?)([\w\.@\:/\-~]+)(\.git)(/)?""",
|
205
|
-
# # """https://$7/""",
|
206
|
-
# # publish_url,
|
207
|
-
# # )
|
208
|
-
# # git@github.com:user/project.git
|
209
|
-
# # https://github.com/user/project.git
|
210
|
-
# # http://github.com/user/project.git
|
211
|
-
# # git@192.168.101.127:user/project.git
|
212
|
-
# # https://192.168.101.127/user/project.git
|
213
|
-
# # http://192.168.101.127/user/project.git
|
214
|
-
# # ssh://user@host.xz:port/path/to/repo.git/
|
215
|
-
# # ssh://user@host.xz/path/to/repo.git/
|
216
|
-
# # ssh://host.xz:port/path/to/repo.git/
|
217
|
-
# # ssh://host.xz/path/to/repo.git/
|
218
|
-
# # ssh://user@host.xz/path/to/repo.git/
|
219
|
-
# # ssh://host.xz/path/to/repo.git/
|
220
|
-
# # ssh://user@host.xz/~user/path/to/repo.git/
|
221
|
-
# # ssh://host.xz/~user/path/to/repo.git/
|
222
|
-
# # ssh://user@host.xz/~/path/to/repo.git
|
223
|
-
# # ssh://host.xz/~/path/to/repo.git
|
224
|
-
# # git://host.xz/path/to/repo.git/
|
225
|
-
# # git://host.xz/~user/path/to/repo.git/
|
226
|
-
# # http://host.xz/path/to/repo.git/
|
227
|
-
# # https://host.xz/path/to/repo.git/
|
228
|
-
# # https://regex101.com/r/qT7NP0/3
|
229
|
-
|
230
|
-
# return publish_url.replace(".git", f"/blob/{directory}/{report_path}")
|
231
|
-
|
232
|
-
# if url_postprocess is None:
|
233
|
-
# url_postprocess = postprocess_url
|
234
|
-
# current_branch = get_output("git symbolic-ref --short HEAD")
|
235
|
-
# logging.info(f"on branch: {current_branch}")
|
236
|
-
# stash_msg = get_output("git stash")
|
237
|
-
# logging.info(f"stashing current work :{stash_msg}")
|
238
|
-
# checkout_msg = get_output(f"git checkout -b {branch_name}")
|
239
|
-
# checkout_msg = get_output(f"git checkout {branch_name}")
|
240
|
-
# get_output("git pull")
|
241
|
-
|
242
|
-
# logging.info(f"checking out branch: {checkout_msg}")
|
243
|
-
# report_path = self.save(directory, in_html_folder=False)
|
244
|
-
# logging.info(f"created report at: {report_path.absolute()}")
|
245
|
-
# # commit_msg = f""
|
246
|
-
# logging.info("adding report to git")
|
247
|
-
# get_output(f"git add {report_path.absolute()}")
|
248
|
-
# get_output("git status")
|
249
|
-
# logging.info("committing report")
|
250
|
-
# cmd = f'git commit -m "generate_report:{self.bench_name}"'
|
251
|
-
# logging.info(cmd)
|
252
|
-
# get_output(cmd)
|
253
|
-
# logging.info("pushing report to origin")
|
254
|
-
# get_output(f"git push --set-upstream origin {branch_name}")
|
255
|
-
# logging.info("checking out original branch")
|
256
|
-
# get_output(f"git checkout {current_branch}")
|
257
|
-
# if "No local changes" not in stash_msg:
|
258
|
-
# logging.info("restoring work with git stash pop")
|
259
|
-
# get_output("git stash pop")
|
260
|
-
|
261
|
-
# publish_url = get_output("git remote get-url --push origin")
|
262
|
-
# logging.info(f"raw url:{publish_url}")
|
263
|
-
# publish_url = url_postprocess(
|
264
|
-
# publish_url, branch_name=branch_name, report_path=report_path, **kwargs
|
265
|
-
# )
|
266
|
-
# logging.info("Published report @")
|
267
|
-
# logging.info(publish_url)
|
268
|
-
# return publish_url
|
160
|
+
# @staticmethod
|
161
|
+
# def publish_github(github_user: str, repo_name: str, branch_name: str) -> Tuple[str, str]:
|
162
|
+
# return (
|
163
|
+
# f"https://github.com/{github_user}/{repo_name}.git",
|
164
|
+
# f"https://github.com/{github_user}/{repo_name}/blob/{branch_name}",
|
165
|
+
# )
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: holobench
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.27.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
|
Project-URL: Repository, https://github.com/dyson-ai/bencher
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "holobench"
|
3
|
-
version = "1.
|
3
|
+
version = "1.27.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"
|
@@ -42,9 +42,6 @@ python = "3.11.*"
|
|
42
42
|
[tool.pixi.pypi-dependencies]
|
43
43
|
bencher = { path = ".", editable = true }
|
44
44
|
|
45
|
-
[tool.pixi.feature.devenv.pypi-dependencies]
|
46
|
-
deps-rocker = ">=0.2"
|
47
|
-
|
48
45
|
[project.optional-dependencies]
|
49
46
|
test = [
|
50
47
|
"black>=23,<=24.4.2",
|
@@ -70,13 +67,9 @@ include = ["bencher"]
|
|
70
67
|
|
71
68
|
# Environments
|
72
69
|
[tool.pixi.environments]
|
73
|
-
default = {
|
74
|
-
py310 = ["py310",
|
75
|
-
py311 = ["py311",
|
76
|
-
devenv = ["devenv"]
|
77
|
-
|
78
|
-
[tool.pixi.feature.devenv.tasks]
|
79
|
-
code = "scripts/launch_vscode.sh"
|
70
|
+
default = {features = ["test"], solve-group = "default" }
|
71
|
+
py310 = ["py310","test"]
|
72
|
+
py311 = ["py311","test"]
|
80
73
|
|
81
74
|
[tool.pixi.tasks]
|
82
75
|
format = "black ."
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{holobench-1.26.3 → holobench-1.27.0}/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
|
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
|