omniopt2 8865__tar.gz → 8867__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.
Potentially problematic release.
This version of omniopt2 might be problematic. Click here for more details.
- {omniopt2-8865 → omniopt2-8867}/.omniopt.py +2 -9
- {omniopt2-8865 → omniopt2-8867}/PKG-INFO +1 -1
- {omniopt2-8865 → omniopt2-8867}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-8865 → omniopt2-8867}/pyproject.toml +1 -1
- {omniopt2-8865 → omniopt2-8867}/.colorfunctions.sh +0 -0
- {omniopt2-8865 → omniopt2-8867}/.dockerignore +0 -0
- {omniopt2-8865 → omniopt2-8867}/.general.sh +0 -0
- {omniopt2-8865 → omniopt2-8867}/.gitignore +0 -0
- {omniopt2-8865 → omniopt2-8867}/.helpers.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_general.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_kde.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.omniopt_plot_worker.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.random_generator.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/.shellscript_functions +0 -0
- {omniopt2-8865 → omniopt2-8867}/.tests/pylint.rc +0 -0
- {omniopt2-8865 → omniopt2-8867}/.tpe.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/LICENSE +0 -0
- {omniopt2-8865 → omniopt2-8867}/MANIFEST.in +0 -0
- {omniopt2-8865 → omniopt2-8867}/README.md +0 -0
- {omniopt2-8865 → omniopt2-8867}/apt-dependencies.txt +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt_docker +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt_evaluate +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt_plot +0 -0
- {omniopt2-8865 → omniopt2-8867}/omniopt_share +0 -0
- {omniopt2-8865 → omniopt2-8867}/requirements.txt +0 -0
- {omniopt2-8865 → omniopt2-8867}/setup.cfg +0 -0
- {omniopt2-8865 → omniopt2-8867}/setup.py +0 -0
- {omniopt2-8865 → omniopt2-8867}/test_requirements.txt +0 -0
|
@@ -379,16 +379,9 @@ def _record_stats(func_name: str, elapsed: float, mem_diff: float, mem_after: fl
|
|
|
379
379
|
call_path_str = " -> ".join(short_stack)
|
|
380
380
|
_func_call_paths[func_name][call_path_str] += 1
|
|
381
381
|
|
|
382
|
-
print(
|
|
383
|
-
|
|
384
|
-
f"(total {percent_if_added:.1f}% of tracked time)"
|
|
385
|
-
)
|
|
386
|
-
print(
|
|
387
|
-
f"Memory before: {mem_after - mem_diff:.2f} MB, after: {mem_after:.2f} MB, "
|
|
388
|
-
f"diff: {mem_diff:+.2f} MB, peak during call: {mem_peak:.2f} MB"
|
|
389
|
-
)
|
|
382
|
+
print(f"Function '{func_name}' took {elapsed:.4f}s (total {percent_if_added:.1f}% of tracked time)")
|
|
383
|
+
print(f"Memory before: {mem_after - mem_diff:.2f} MB, after: {mem_after:.2f} MB, diff: {mem_diff:+.2f} MB, peak during call: {mem_peak:.2f} MB")
|
|
390
384
|
|
|
391
|
-
# NEU: Runtime Stats
|
|
392
385
|
runtime_stats = collect_runtime_stats()
|
|
393
386
|
print("=== Runtime Stats ===")
|
|
394
387
|
print(f"RSS: {runtime_stats['rss_MB']:.2f} MB, VMS: {runtime_stats['vms_MB']:.2f} MB")
|
|
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
|