scope-profiler 0.7.3__tar.gz → 0.7.4__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.
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/CMakeLists.txt +1 -1
- {scope_profiler-0.7.3/src/scope_profiler.egg-info → scope_profiler-0.7.4}/PKG-INFO +41 -36
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/README.md +31 -28
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/pyproject.toml +26 -15
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/__init__.py +3 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/__main__.py +240 -27
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/_assets/scope-profiler-plotly-0.2.0.js +100 -31
- scope_profiler-0.7.4/src/scope_profiler/astro_site.py +1844 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/c/Makefile +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/c/example.c +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/c/scope_profiler.h +38 -11
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/c/scope_profiler.hpp +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/c/scope_profiler_hdf5.h +7 -7
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/c/scope_profiler_impl.h +322 -5
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/call_stack.py +9 -9
- scope_profiler-0.7.4/src/scope_profiler/catalogue.py +60 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/concurrency.py +17 -17
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/diff.py +15 -12
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/fortran/scope_profiler.f90 +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/h5reader.py +3 -3
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/h5writer.py +9 -9
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/html_report.py +858 -1495
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/inspection.py +2 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/ipython_magics.py +11 -11
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/json_export.py +4 -4
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/likwid_data.py +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/mcp_server/server.py +11 -5
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/mcp_server/tools.py +18 -8
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/metadata.py +18 -1
- scope_profiler-0.7.4/src/scope_profiler/native_samples.py +282 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/native_trace.py +11 -11
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/_utils.py +4 -4
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/durations.py +35 -24
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/gantt.py +48 -14
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/histogram.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/imbalance.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/likwid.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/scaling.py +7 -6
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/statistics.py +27 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/post_processing.py +17 -8
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/prof_export.py +3 -3
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/profile_config.py +29 -7
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/profile_io.py +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/profile_manager.py +140 -40
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/region.py +3 -3
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/region_profiler.py +8 -8
- scope_profiler-0.7.4/src/scope_profiler/report_data.py +973 -0
- scope_profiler-0.7.4/src/scope_profiler/report_model.py +1275 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/results.py +21 -5
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/speedscope_export.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/summary.py +26 -6
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/check_mpi_launch.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/examples_pylikwid.py +1 -1
- scope_profiler-0.7.4/src/scope_profiler/tests/report_profiles.py +60 -0
- scope_profiler-0.7.4/src/scope_profiler/tests/test_astro_site.py +1160 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_c_api.py +3 -3
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_c_hdf5_output.py +6 -6
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_diff.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_documented_formats.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_html_report.py +609 -64
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_ipython_magics.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_likwid_data.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_mcp_server.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_mcp_tools.py +41 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_metadata.py +82 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_mixed_language.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_mpi.py +9 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_multiprocessing.py +3 -3
- scope_profiler-0.7.4/src/scope_profiler/tests/test_native_samples.py +207 -0
- scope_profiler-0.7.4/src/scope_profiler/tests/test_opt_in_tags.py +197 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_output_size.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_overhead.py +4 -4
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_overhead_io.py +20 -6
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_post_processing.py +124 -4
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_prof_export.py +3 -3
- scope_profiler-0.7.4/src/scope_profiler/tests/test_report_model.py +351 -0
- scope_profiler-0.7.4/src/scope_profiler/tests/test_report_performance.py +103 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_results_api.py +115 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_set_version.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_speedscope_export.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_threading.py +3 -3
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_call_stack_properties.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_gpu_timing.py +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_h5_failure_paths.py +3 -3
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_h5_roundtrip.py +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_h5writer.py +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_lazy_config.py +2 -2
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_native_hdf5_inputs.py +4 -4
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_payload_collection.py +1 -1
- {scope_profiler-0.7.3 → scope_profiler-0.7.4/src/scope_profiler.egg-info}/PKG-INFO +41 -36
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler.egg-info/SOURCES.txt +11 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler.egg-info/requires.txt +10 -7
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/LICENSE.txt +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/MANIFEST.in +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/cmake/scope-profilerConfig.cmake.in +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/examples/cmake/CMakeLists.txt +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/examples/cmake/main.cpp +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/examples/cmake/mpi.cpp +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/examples/cmake/native.c +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/examples/ex_mpi_numpy_wrappers.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/examples/ex_mpi_profiling_options.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/examples/ex_mpi_wrappers.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/setup.cfg +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/_assets/__init__.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/benchmark.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/c/scope_profiler.c +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/c/scope_profiler_mpi.hpp +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/chrome_trace_export.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/fortran/Makefile +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/fortran/example.f90 +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/gpu_timing.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/h5schema.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/line_profile_cli.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/mcp_server/__init__.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/mcp_server/__main__.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/memray.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/mpi_launch.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/mpi_region.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/mpi_wrappers.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/perf_events.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/__init__.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/callgraph.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/duration_timeseries.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/flame.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/heatmap.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/perf_events.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/roofline.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/plotting_scripts/timeline.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/py.typed +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/pytest_plugin.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/__init__.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/check_parallel_hdf5.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/conftest.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/examples.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/fixtures/compatibility/README.md +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/fixtures/compatibility/hdf5-schema-1.h5.gz.b64 +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/fixtures/compatibility/hdf5-schema-2.h5.gz.b64 +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/fixtures/compatibility/hdf5-schema-3.h5.gz.b64 +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/fixtures/compatibility/json-v1.json +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/fixtures/compatibility/native-v1.spt.b64 +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/fixtures/compatibility/native-v2.spt.b64 +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/pylikwid_readme.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_aggregation.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_api_shortcuts.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_app.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_async_profiling.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_benchmark.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_buffer_growth.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_chrome_trace_export.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_compatibility_fixtures.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_fortran_api.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_in_memory_results.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_inspection.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_json_export.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_label.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_line_profile_cli.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_main_cli.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_memray.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_multiple_sessions.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_perf_events.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_profile_config_toml.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_profiling_options.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_pytest_plugin.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_readme.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_region_source.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_repeated_finalize.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_storage_size.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_summary_likwid.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/test_tui.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/__init__.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_call_stack.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_callgraph_plot.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_concurrency.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_gpu_summary.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_likwid_child_env.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_merge_results.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_mpi_launch.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_mpi_wrappers.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_native_trace_versions.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_recursive_tracer.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_region_variants.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tests/unit/test_summary_rendering.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler/tui.py +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler.egg-info/dependency_links.txt +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler.egg-info/entry_points.txt +0 -0
- {scope_profiler-0.7.3 → scope_profiler-0.7.4}/src/scope_profiler.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scope-profiler
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
4
4
|
Summary: Profile code regions in python, optionally with LIKWID markers.
|
|
5
5
|
Author: Max
|
|
6
6
|
License-Expression: MIT
|
|
@@ -39,6 +39,8 @@ Provides-Extra: mpi
|
|
|
39
39
|
Requires-Dist: mpi4py; extra == "mpi"
|
|
40
40
|
Provides-Extra: notebook
|
|
41
41
|
Requires-Dist: ipython; extra == "notebook"
|
|
42
|
+
Provides-Extra: site
|
|
43
|
+
Requires-Dist: pyyaml; extra == "site"
|
|
42
44
|
Provides-Extra: pproc
|
|
43
45
|
Requires-Dist: flameprof; extra == "pproc"
|
|
44
46
|
Requires-Dist: ipykernel; extra == "pproc"
|
|
@@ -49,12 +51,13 @@ Requires-Dist: pandas; extra == "pproc"
|
|
|
49
51
|
Requires-Dist: plotly; extra == "pproc"
|
|
50
52
|
Requires-Dist: pyarrow; extra == "pproc"
|
|
51
53
|
Requires-Dist: pyvis>=0.3.2; extra == "pproc"
|
|
54
|
+
Requires-Dist: pyyaml; extra == "pproc"
|
|
52
55
|
Requires-Dist: snakeviz; extra == "pproc"
|
|
53
56
|
Requires-Dist: tabulate; extra == "pproc"
|
|
54
57
|
Requires-Dist: textual>=0.86; extra == "pproc"
|
|
55
58
|
Provides-Extra: extras
|
|
56
59
|
Requires-Dist: memray; extra == "extras"
|
|
57
|
-
Requires-Dist: scope-profiler[compression,fortran,line-profiler,mcp,mpi,notebook,nvtx,perf-events,pproc,tui]; extra == "extras"
|
|
60
|
+
Requires-Dist: scope-profiler[compression,fortran,line-profiler,mcp,mpi,notebook,nvtx,perf-events,pproc,site,tui]; extra == "extras"
|
|
58
61
|
Provides-Extra: dev
|
|
59
62
|
Requires-Dist: black[jupyter]<27,>=26.1; extra == "dev"
|
|
60
63
|
Requires-Dist: isort>=9.0.0; extra == "dev"
|
|
@@ -62,14 +65,13 @@ Requires-Dist: mypy>=1.11.0; extra == "dev"
|
|
|
62
65
|
Requires-Dist: ruff<0.17,>=0.16; extra == "dev"
|
|
63
66
|
Requires-Dist: scope-profiler[docs,fortran,line-profiler,mcp,mpi,notebook,nvtx,pproc,test,tui]; extra == "dev"
|
|
64
67
|
Provides-Extra: docs
|
|
65
|
-
Requires-Dist:
|
|
66
|
-
Requires-Dist:
|
|
67
|
-
Requires-Dist:
|
|
68
|
+
Requires-Dist: griffe; extra == "docs"
|
|
69
|
+
Requires-Dist: ipykernel; extra == "docs"
|
|
70
|
+
Requires-Dist: nbclient; extra == "docs"
|
|
71
|
+
Requires-Dist: nbformat; extra == "docs"
|
|
68
72
|
Requires-Dist: pre-commit; extra == "docs"
|
|
69
73
|
Requires-Dist: pyproject-fmt; extra == "docs"
|
|
70
|
-
Requires-Dist:
|
|
71
|
-
Requires-Dist: sphinx-book-theme; extra == "docs"
|
|
72
|
-
Requires-Dist: scope-profiler[line-profiler,mpi,notebook,pproc,tui]; extra == "docs"
|
|
74
|
+
Requires-Dist: scope-profiler[line-profiler,mpi,notebook,pproc,site,tui]; extra == "docs"
|
|
73
75
|
Provides-Extra: test
|
|
74
76
|
Requires-Dist: coverage[toml]; extra == "test"
|
|
75
77
|
Requires-Dist: hypothesis; extra == "test"
|
|
@@ -149,9 +151,9 @@ creates no output file. Existing `session()`, `setup()`, and
|
|
|
149
151
|
direct lifecycle control.
|
|
150
152
|
|
|
151
153
|
See the
|
|
152
|
-
[quickstart](https://max-models.github.io/scope-profiler/quickstart
|
|
154
|
+
[quickstart](https://max-models.github.io/scope-profiler/getting-started/quickstart/)
|
|
153
155
|
and [profiling modes
|
|
154
|
-
guide](https://max-models.github.io/scope-profiler/guide/modes
|
|
156
|
+
guide](https://max-models.github.io/scope-profiler/guide/modes/) for
|
|
155
157
|
recursive tracing, tags, concurrency, output formats, and advanced APIs.
|
|
156
158
|
|
|
157
159
|
## Profile a pytest suite
|
|
@@ -184,14 +186,14 @@ plugin cannot yet be used: its workers must not write the same HDF5
|
|
|
184
186
|
file.
|
|
185
187
|
|
|
186
188
|
See the [profiling modes
|
|
187
|
-
guide](https://max-models.github.io/scope-profiler/guide/modes
|
|
189
|
+
guide](https://max-models.github.io/scope-profiler/guide/modes/) for
|
|
188
190
|
output formats, filtering, concurrency, aggregation, pause/resume, and
|
|
189
191
|
sampling.
|
|
190
192
|
|
|
191
193
|
## In a notebook
|
|
192
194
|
|
|
193
195
|
Install the notebook extra and see the [notebook magics
|
|
194
|
-
guide](https://max-models.github.io/scope-profiler/guide/
|
|
196
|
+
guide](https://max-models.github.io/scope-profiler/guide/notebook-magics/)
|
|
195
197
|
for cell profiling, recursive tracing, comparisons, and exports:
|
|
196
198
|
|
|
197
199
|
```bash
|
|
@@ -200,48 +202,51 @@ pip install "scope-profiler[notebook]"
|
|
|
200
202
|
|
|
201
203
|
## Documentation
|
|
202
204
|
|
|
203
|
-
- [Installation](https://max-models.github.io/scope-profiler/installation
|
|
205
|
+
- [Installation](https://max-models.github.io/scope-profiler/getting-started/installation/)
|
|
204
206
|
- [Quick
|
|
205
|
-
start](https://max-models.github.io/scope-profiler/quickstart
|
|
207
|
+
start](https://max-models.github.io/scope-profiler/getting-started/quickstart/)
|
|
206
208
|
- [Python API and
|
|
207
|
-
post-processing](https://max-models.github.io/scope-profiler/guide/
|
|
208
|
-
- [CLI reference](https://max-models.github.io/scope-profiler/cli
|
|
209
|
+
post-processing](https://max-models.github.io/scope-profiler/guide/hdf5-and-python-api/)
|
|
210
|
+
- [CLI reference](https://max-models.github.io/scope-profiler/reference/cli/)
|
|
209
211
|
- [Plotly figures for the
|
|
210
|
-
web](https://max-models.github.io/scope-profiler/guide/
|
|
212
|
+
web](https://max-models.github.io/scope-profiler/guide/plotly-package/)
|
|
211
213
|
- [Configuration and profiling
|
|
212
|
-
regions](https://max-models.github.io/scope-profiler/guide/configuration
|
|
213
|
-
- [MPI](https://max-models.github.io/scope-profiler/guide/mpi
|
|
214
|
-
[C](https://max-models.github.io/scope-profiler/guide/c
|
|
215
|
-
[Fortran](https://max-models.github.io/scope-profiler/guide/fortran
|
|
216
|
-
- [LIKWID](https://max-models.github.io/scope-profiler/guide/likwid
|
|
214
|
+
regions](https://max-models.github.io/scope-profiler/guide/configuration/)
|
|
215
|
+
- [MPI](https://max-models.github.io/scope-profiler/guide/mpi/),
|
|
216
|
+
[C](https://max-models.github.io/scope-profiler/guide/c/), and
|
|
217
|
+
[Fortran](https://max-models.github.io/scope-profiler/guide/fortran/)
|
|
218
|
+
- [LIKWID](https://max-models.github.io/scope-profiler/guide/likwid/),
|
|
217
219
|
[line
|
|
218
|
-
profiling](https://max-models.github.io/scope-profiler/guide/
|
|
219
|
-
and [MCP](https://max-models.github.io/scope-profiler/guide/mcp
|
|
220
|
+
profiling](https://max-models.github.io/scope-profiler/guide/line-profiler/),
|
|
221
|
+
and [MCP](https://max-models.github.io/scope-profiler/guide/mcp/)
|
|
220
222
|
- [Jupyter/IPython
|
|
221
|
-
magics](https://max-models.github.io/scope-profiler/guide/
|
|
223
|
+
magics](https://max-models.github.io/scope-profiler/guide/notebook-magics/)
|
|
222
224
|
- [Tutorial
|
|
223
|
-
notebooks](https://max-models.github.io/scope-profiler/tutorials
|
|
225
|
+
notebooks](https://max-models.github.io/scope-profiler/tutorials/)
|
|
224
226
|
- [Examples](https://github.com/max-models/scope-profiler/tree/devel/examples)
|
|
225
227
|
|
|
226
228
|
### Build the documentation locally
|
|
227
229
|
|
|
228
|
-
The hosted documentation is
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
The hosted documentation is an [Astro](https://astro.build/) +
|
|
231
|
+
[Starlight](https://starlight.astro.build/) site in `docs/`, set up with
|
|
232
|
+
the shared [starlight-theme](https://github.com/max-models/starlight-theme).
|
|
233
|
+
It needs Node 22 or newer, an MPI implementation (`mpirun`) for the MPI
|
|
234
|
+
examples, and the `docs` extra:
|
|
232
235
|
|
|
233
236
|
```bash
|
|
234
237
|
python -m venv .venv
|
|
235
238
|
source .venv/bin/activate
|
|
236
239
|
python -m pip install --upgrade pip
|
|
237
|
-
|
|
238
|
-
make -
|
|
240
|
+
make docs-install
|
|
241
|
+
make docs-build
|
|
239
242
|
```
|
|
240
243
|
|
|
241
|
-
This
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
workflow
|
|
244
|
+
This executes the tutorial notebooks, refreshes the generated command
|
|
245
|
+
output and builds the site into `docs/dist`; `make docs-dev` serves a live
|
|
246
|
+
preview at <http://localhost:4321/scope-profiler/>. The GitHub Pages
|
|
247
|
+
workflow runs the same steps. See the [docs page on building the
|
|
248
|
+
docs](https://max-models.github.io/scope-profiler/development/docs/) for
|
|
249
|
+
the details.
|
|
245
250
|
|
|
246
251
|
## Development
|
|
247
252
|
|
|
@@ -68,9 +68,9 @@ creates no output file. Existing `session()`, `setup()`, and
|
|
|
68
68
|
direct lifecycle control.
|
|
69
69
|
|
|
70
70
|
See the
|
|
71
|
-
[quickstart](https://max-models.github.io/scope-profiler/quickstart
|
|
71
|
+
[quickstart](https://max-models.github.io/scope-profiler/getting-started/quickstart/)
|
|
72
72
|
and [profiling modes
|
|
73
|
-
guide](https://max-models.github.io/scope-profiler/guide/modes
|
|
73
|
+
guide](https://max-models.github.io/scope-profiler/guide/modes/) for
|
|
74
74
|
recursive tracing, tags, concurrency, output formats, and advanced APIs.
|
|
75
75
|
|
|
76
76
|
## Profile a pytest suite
|
|
@@ -103,14 +103,14 @@ plugin cannot yet be used: its workers must not write the same HDF5
|
|
|
103
103
|
file.
|
|
104
104
|
|
|
105
105
|
See the [profiling modes
|
|
106
|
-
guide](https://max-models.github.io/scope-profiler/guide/modes
|
|
106
|
+
guide](https://max-models.github.io/scope-profiler/guide/modes/) for
|
|
107
107
|
output formats, filtering, concurrency, aggregation, pause/resume, and
|
|
108
108
|
sampling.
|
|
109
109
|
|
|
110
110
|
## In a notebook
|
|
111
111
|
|
|
112
112
|
Install the notebook extra and see the [notebook magics
|
|
113
|
-
guide](https://max-models.github.io/scope-profiler/guide/
|
|
113
|
+
guide](https://max-models.github.io/scope-profiler/guide/notebook-magics/)
|
|
114
114
|
for cell profiling, recursive tracing, comparisons, and exports:
|
|
115
115
|
|
|
116
116
|
```bash
|
|
@@ -119,48 +119,51 @@ pip install "scope-profiler[notebook]"
|
|
|
119
119
|
|
|
120
120
|
## Documentation
|
|
121
121
|
|
|
122
|
-
- [Installation](https://max-models.github.io/scope-profiler/installation
|
|
122
|
+
- [Installation](https://max-models.github.io/scope-profiler/getting-started/installation/)
|
|
123
123
|
- [Quick
|
|
124
|
-
start](https://max-models.github.io/scope-profiler/quickstart
|
|
124
|
+
start](https://max-models.github.io/scope-profiler/getting-started/quickstart/)
|
|
125
125
|
- [Python API and
|
|
126
|
-
post-processing](https://max-models.github.io/scope-profiler/guide/
|
|
127
|
-
- [CLI reference](https://max-models.github.io/scope-profiler/cli
|
|
126
|
+
post-processing](https://max-models.github.io/scope-profiler/guide/hdf5-and-python-api/)
|
|
127
|
+
- [CLI reference](https://max-models.github.io/scope-profiler/reference/cli/)
|
|
128
128
|
- [Plotly figures for the
|
|
129
|
-
web](https://max-models.github.io/scope-profiler/guide/
|
|
129
|
+
web](https://max-models.github.io/scope-profiler/guide/plotly-package/)
|
|
130
130
|
- [Configuration and profiling
|
|
131
|
-
regions](https://max-models.github.io/scope-profiler/guide/configuration
|
|
132
|
-
- [MPI](https://max-models.github.io/scope-profiler/guide/mpi
|
|
133
|
-
[C](https://max-models.github.io/scope-profiler/guide/c
|
|
134
|
-
[Fortran](https://max-models.github.io/scope-profiler/guide/fortran
|
|
135
|
-
- [LIKWID](https://max-models.github.io/scope-profiler/guide/likwid
|
|
131
|
+
regions](https://max-models.github.io/scope-profiler/guide/configuration/)
|
|
132
|
+
- [MPI](https://max-models.github.io/scope-profiler/guide/mpi/),
|
|
133
|
+
[C](https://max-models.github.io/scope-profiler/guide/c/), and
|
|
134
|
+
[Fortran](https://max-models.github.io/scope-profiler/guide/fortran/)
|
|
135
|
+
- [LIKWID](https://max-models.github.io/scope-profiler/guide/likwid/),
|
|
136
136
|
[line
|
|
137
|
-
profiling](https://max-models.github.io/scope-profiler/guide/
|
|
138
|
-
and [MCP](https://max-models.github.io/scope-profiler/guide/mcp
|
|
137
|
+
profiling](https://max-models.github.io/scope-profiler/guide/line-profiler/),
|
|
138
|
+
and [MCP](https://max-models.github.io/scope-profiler/guide/mcp/)
|
|
139
139
|
- [Jupyter/IPython
|
|
140
|
-
magics](https://max-models.github.io/scope-profiler/guide/
|
|
140
|
+
magics](https://max-models.github.io/scope-profiler/guide/notebook-magics/)
|
|
141
141
|
- [Tutorial
|
|
142
|
-
notebooks](https://max-models.github.io/scope-profiler/tutorials
|
|
142
|
+
notebooks](https://max-models.github.io/scope-profiler/tutorials/)
|
|
143
143
|
- [Examples](https://github.com/max-models/scope-profiler/tree/devel/examples)
|
|
144
144
|
|
|
145
145
|
### Build the documentation locally
|
|
146
146
|
|
|
147
|
-
The hosted documentation is
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
147
|
+
The hosted documentation is an [Astro](https://astro.build/) +
|
|
148
|
+
[Starlight](https://starlight.astro.build/) site in `docs/`, set up with
|
|
149
|
+
the shared [starlight-theme](https://github.com/max-models/starlight-theme).
|
|
150
|
+
It needs Node 22 or newer, an MPI implementation (`mpirun`) for the MPI
|
|
151
|
+
examples, and the `docs` extra:
|
|
151
152
|
|
|
152
153
|
```bash
|
|
153
154
|
python -m venv .venv
|
|
154
155
|
source .venv/bin/activate
|
|
155
156
|
python -m pip install --upgrade pip
|
|
156
|
-
|
|
157
|
-
make -
|
|
157
|
+
make docs-install
|
|
158
|
+
make docs-build
|
|
158
159
|
```
|
|
159
160
|
|
|
160
|
-
This
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
workflow
|
|
161
|
+
This executes the tutorial notebooks, refreshes the generated command
|
|
162
|
+
output and builds the site into `docs/dist`; `make docs-dev` serves a live
|
|
163
|
+
preview at <http://localhost:4321/scope-profiler/>. The GitHub Pages
|
|
164
|
+
workflow runs the same steps. See the [docs page on building the
|
|
165
|
+
docs](https://max-models.github.io/scope-profiler/development/docs/) for
|
|
166
|
+
the details.
|
|
164
167
|
|
|
165
168
|
## Development
|
|
166
169
|
|
|
@@ -5,7 +5,7 @@ requires = [ "setuptools", "wheel" ]
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "scope-profiler"
|
|
8
|
-
version = "0.7.
|
|
8
|
+
version = "0.7.4"
|
|
9
9
|
description = "Profile code regions in python, optionally with LIKWID markers."
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
keywords = [ "python" ]
|
|
@@ -68,6 +68,10 @@ optional-dependencies.notebook = [
|
|
|
68
68
|
"ipython",
|
|
69
69
|
]
|
|
70
70
|
|
|
71
|
+
optional-dependencies.site = [
|
|
72
|
+
"pyyaml",
|
|
73
|
+
]
|
|
74
|
+
|
|
71
75
|
optional-dependencies.pproc = [
|
|
72
76
|
"flameprof",
|
|
73
77
|
"ipykernel",
|
|
@@ -78,6 +82,7 @@ optional-dependencies.pproc = [
|
|
|
78
82
|
"plotly",
|
|
79
83
|
"pyarrow",
|
|
80
84
|
"pyvis >= 0.3.2",
|
|
85
|
+
"pyyaml",
|
|
81
86
|
"snakeviz",
|
|
82
87
|
"tabulate",
|
|
83
88
|
"textual>=0.86",
|
|
@@ -87,12 +92,12 @@ optional-dependencies.pproc = [
|
|
|
87
92
|
# stays opt-in because it requires a compatible system-level installation.
|
|
88
93
|
optional-dependencies.extras = [
|
|
89
94
|
"memray",
|
|
90
|
-
"scope-profiler[compression,fortran,line-profiler,mcp,mpi,notebook,nvtx,perf-events,pproc,tui]",
|
|
95
|
+
"scope-profiler[compression,fortran,line-profiler,mcp,mpi,notebook,nvtx,perf-events,pproc,site,tui]",
|
|
91
96
|
]
|
|
92
97
|
|
|
93
98
|
optional-dependencies.dev = [
|
|
94
99
|
# Black is the one code formatter; ruff only lints (`ruff format` is not
|
|
95
|
-
# used
|
|
100
|
+
# used - the two disagree on a handful of constructs). Pinned to a year
|
|
96
101
|
# series: black changes its stable style only in the January release.
|
|
97
102
|
"black[jupyter] >= 26.1, < 27",
|
|
98
103
|
"isort >= 9.0.0",
|
|
@@ -104,16 +109,16 @@ optional-dependencies.dev = [
|
|
|
104
109
|
"ruff >= 0.16, < 0.17",
|
|
105
110
|
"scope-profiler[docs,fortran,line-profiler,mcp,mpi,notebook,nvtx,pproc,test,tui]",
|
|
106
111
|
]
|
|
107
|
-
#
|
|
112
|
+
# The docs site (docs/, @max-models/starlight-theme): griffe reads the API reference, and
|
|
113
|
+
# nbclient/nbformat/ipykernel run the tutorials, which use the extras below.
|
|
108
114
|
optional-dependencies.docs = [
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
115
|
+
"griffe",
|
|
116
|
+
"ipykernel",
|
|
117
|
+
"nbclient",
|
|
118
|
+
"nbformat",
|
|
112
119
|
"pre-commit",
|
|
113
120
|
"pyproject-fmt",
|
|
114
|
-
"
|
|
115
|
-
"sphinx-book-theme",
|
|
116
|
-
"scope-profiler[line-profiler,mpi,notebook,pproc,tui]",
|
|
121
|
+
"scope-profiler[line-profiler,mpi,notebook,pproc,site,tui]",
|
|
117
122
|
]
|
|
118
123
|
optional-dependencies.test = [
|
|
119
124
|
# coverage[toml] so the [tool.coverage.*] tables in this file are read on
|
|
@@ -137,6 +142,12 @@ scripts.scope-profiler-mcp = "scope_profiler.mcp_server.server:main"
|
|
|
137
142
|
[project.entry-points.pytest11]
|
|
138
143
|
scope_profiler = "scope_profiler.pytest_plugin"
|
|
139
144
|
|
|
145
|
+
# pylikwid is an sdist whose build needs a LIKWID installation; `uv sync` resolves every extra,
|
|
146
|
+
# so it gets the metadata from here instead of building pylikwid (the docs CI has no LIKWID)
|
|
147
|
+
[[tool.uv.dependency-metadata]]
|
|
148
|
+
name = "pylikwid"
|
|
149
|
+
requires-dist = []
|
|
150
|
+
|
|
140
151
|
[tool.setuptools.packages.find]
|
|
141
152
|
where = [ "src" ]
|
|
142
153
|
|
|
@@ -190,7 +201,7 @@ files = [
|
|
|
190
201
|
# Resolve imports against the source tree rather than whatever happens to be
|
|
191
202
|
# installed. Without this, an editable install (a .pth file mypy cannot follow)
|
|
192
203
|
# silently degrades every intra-package import to Any locally, while CI's
|
|
193
|
-
# regular install
|
|
204
|
+
# regular install - which now carries a py.typed marker - checks them for
|
|
194
205
|
# real. That difference hid 131 errors from local runs.
|
|
195
206
|
mypy_path = "src"
|
|
196
207
|
# Run the checker on the lowest CI-supported modern typing environment. The
|
|
@@ -260,7 +271,7 @@ src = [ "src" ]
|
|
|
260
271
|
|
|
261
272
|
[tool.ruff.lint]
|
|
262
273
|
# Ruff's default rule set grows between releases, so these are the rules this
|
|
263
|
-
# project has looked at and deliberately declined
|
|
274
|
+
# project has looked at and deliberately declined - not a backlog. See the
|
|
264
275
|
# pinned ruff version in the dev extra: an unpinned one turns a routine upgrade
|
|
265
276
|
# into a red build on an untouched commit.
|
|
266
277
|
ignore = [
|
|
@@ -270,7 +281,7 @@ ignore = [
|
|
|
270
281
|
# because an optional counter was unavailable.
|
|
271
282
|
"BLE001",
|
|
272
283
|
# The same pattern's try/except/pass and try/except/continue forms. There is
|
|
273
|
-
# nowhere to log to
|
|
284
|
+
# nowhere to log to - the library has no logger and writing to stderr from
|
|
274
285
|
# a profiled hot path is worse than the failure it reports.
|
|
275
286
|
"S110",
|
|
276
287
|
"S112",
|
|
@@ -301,12 +312,12 @@ ignore = [
|
|
|
301
312
|
# one `with` keeps the semantics and loses the meaning.
|
|
302
313
|
"src/scope_profiler/tests/*" = [ "E402", "RUF012", "SIM117" ]
|
|
303
314
|
# A verbatim copy of pylikwid's README example, kept runnable as a LIKWID
|
|
304
|
-
# smoke test. PERF402: the append loop is the measured workload
|
|
315
|
+
# smoke test. PERF402: the append loop is the measured workload - rewriting
|
|
305
316
|
# it as list(range(...)) profiles nothing.
|
|
306
317
|
"src/scope_profiler/tests/pylikwid_readme.py" = [ "PERF402" ]
|
|
307
318
|
# Tutorials, examples and doc generators nest profiling regions for the same
|
|
308
319
|
# reason the tests do: the indentation shows the region hierarchy.
|
|
309
|
-
"
|
|
320
|
+
"notebooks/**" = [ "SIM117" ]
|
|
310
321
|
"examples/*" = [ "SIM117" ]
|
|
311
322
|
"docs/*" = [ "SIM117" ]
|
|
312
323
|
# PYI034: ProfilingWriter.__enter__ returns the concrete class rather than
|
|
@@ -62,7 +62,7 @@ from scope_profiler.results import ProfilingResults, merge_results
|
|
|
62
62
|
#: solve()
|
|
63
63
|
#:
|
|
64
64
|
#: These are the ``ProfileManager`` class methods themselves rather than
|
|
65
|
-
#: forwarding wrappers
|
|
65
|
+
#: forwarding wrappers - ``region()`` runs on the per-event path, and an
|
|
66
66
|
#: extra frame there is measurable overhead. They act on the same global
|
|
67
67
|
#: manager state the class methods do.
|
|
68
68
|
finalize = ProfileManager.finalize
|
|
@@ -78,6 +78,7 @@ profile = ProfileManager.profile
|
|
|
78
78
|
region_factory = ProfileManager.region_factory
|
|
79
79
|
recorded_regions = ProfileManager.recorded_regions
|
|
80
80
|
region = ProfileManager.region
|
|
81
|
+
register_opt_in_tag = ProfileManager.register_opt_in_tag
|
|
81
82
|
registered_regions = ProfileManager.registered_regions
|
|
82
83
|
session = ProfileManager.session
|
|
83
84
|
setup = ProfileManager.setup
|
|
@@ -197,6 +198,7 @@ __all__ = [
|
|
|
197
198
|
"recorded_regions",
|
|
198
199
|
"region",
|
|
199
200
|
"region_factory",
|
|
201
|
+
"register_opt_in_tag",
|
|
200
202
|
"registered_regions",
|
|
201
203
|
"run",
|
|
202
204
|
"session",
|