scope-profiler 0.6.3__tar.gz → 0.6.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.6.3 → scope_profiler-0.6.4}/CMakeLists.txt +1 -1
- {scope_profiler-0.6.3/src/scope_profiler.egg-info → scope_profiler-0.6.4}/PKG-INFO +1 -1
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/pyproject.toml +1 -1
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/__main__.py +3 -3
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/mpi_wrappers.py +1 -1
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_main_cli.py +26 -2
- {scope_profiler-0.6.3 → scope_profiler-0.6.4/src/scope_profiler.egg-info}/PKG-INFO +1 -1
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/LICENSE.txt +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/MANIFEST.in +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/README.md +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/cmake/scope-profilerConfig.cmake.in +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/examples/cmake/CMakeLists.txt +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/examples/cmake/main.cpp +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/examples/cmake/mpi.cpp +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/examples/cmake/native.c +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/examples/ex_mpi_numpy_wrappers.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/examples/ex_mpi_profiling_options.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/examples/ex_mpi_wrappers.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/setup.cfg +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/__init__.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/_assets/__init__.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/_assets/scope-profiler-plotly-0.2.0.js +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/benchmark.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/c/Makefile +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/c/example.c +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/c/scope_profiler.c +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/c/scope_profiler.h +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/c/scope_profiler.hpp +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/c/scope_profiler_hdf5.h +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/c/scope_profiler_impl.h +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/c/scope_profiler_mpi.hpp +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/call_stack.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/chrome_trace_export.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/concurrency.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/diff.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/fortran/Makefile +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/fortran/example.f90 +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/fortran/scope_profiler.f90 +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/gpu_timing.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/h5reader.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/h5schema.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/h5writer.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/html_report.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/inspection.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/ipython_magics.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/json_export.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/likwid_data.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/line_profile_cli.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/mcp_server/__init__.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/mcp_server/__main__.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/mcp_server/server.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/mcp_server/tools.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/memray.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/metadata.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/mpi_launch.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/mpi_region.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/native_trace.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/perf_events.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/__init__.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/_utils.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/callgraph.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/duration_timeseries.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/durations.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/flame.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/gantt.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/heatmap.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/histogram.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/imbalance.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/likwid.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/perf_events.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/roofline.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/scaling.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/statistics.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/timeline.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/post_processing.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/prof_export.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/profile_config.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/profile_io.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/profile_manager.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/py.typed +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/pytest_plugin.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/region.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/region_profiler.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/results.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/speedscope_export.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/summary.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/__init__.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/check_mpi_launch.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/check_parallel_hdf5.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/examples.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/examples_pylikwid.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/fixtures/compatibility/README.md +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/fixtures/compatibility/hdf5-schema-1.h5.gz.b64 +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/fixtures/compatibility/hdf5-schema-2.h5.gz.b64 +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/fixtures/compatibility/hdf5-schema-3.h5.gz.b64 +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/fixtures/compatibility/json-v1.json +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/fixtures/compatibility/native-v1.spt.b64 +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/fixtures/compatibility/native-v2.spt.b64 +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/pylikwid_readme.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_aggregation.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_api_shortcuts.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_app.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_async_profiling.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_benchmark.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_buffer_growth.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_c_api.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_c_hdf5_output.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_chrome_trace_export.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_compatibility_fixtures.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_diff.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_documented_formats.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_fortran_api.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_html_report.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_in_memory_results.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_inspection.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_ipython_magics.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_json_export.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_label.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_likwid_data.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_line_profile_cli.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_mcp_server.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_mcp_tools.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_memray.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_metadata.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_mixed_language.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_mpi.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_multiple_sessions.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_multiprocessing.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_output_size.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_overhead.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_overhead_io.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_perf_events.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_post_processing.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_prof_export.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_profile_config_toml.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_profiling_options.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_pytest_plugin.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_readme.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_region_source.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_repeated_finalize.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_results_api.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_set_version.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_speedscope_export.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_storage_size.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_summary_likwid.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_threading.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_tui.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/__init__.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_call_stack.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_call_stack_properties.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_callgraph_plot.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_concurrency.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_gpu_timing.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_h5_failure_paths.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_h5_roundtrip.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_h5writer.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_lazy_config.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_likwid_child_env.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_merge_results.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_mpi_launch.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_mpi_wrappers.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_native_hdf5_inputs.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_native_trace_versions.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_payload_collection.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_recursive_tracer.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_region_variants.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tui.py +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler.egg-info/SOURCES.txt +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler.egg-info/dependency_links.txt +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler.egg-info/entry_points.txt +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler.egg-info/requires.txt +0 -0
- {scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler.egg-info/top_level.txt +0 -0
|
@@ -121,14 +121,14 @@ def _parse_run_args(argv):
|
|
|
121
121
|
"--mpi-calls",
|
|
122
122
|
dest="mpi_calls",
|
|
123
123
|
action="store_true",
|
|
124
|
-
default=
|
|
125
|
-
help="Profile mpi4py calls without changing the target script
|
|
124
|
+
default=None,
|
|
125
|
+
help="Profile mpi4py calls without changing the target script",
|
|
126
126
|
)
|
|
127
127
|
mpi_calls.add_argument(
|
|
128
128
|
"--no-mpi-calls",
|
|
129
129
|
dest="mpi_calls",
|
|
130
130
|
action="store_false",
|
|
131
|
-
help="Do not profile mpi4py communication calls",
|
|
131
|
+
help="Do not profile mpi4py communication calls (default)",
|
|
132
132
|
)
|
|
133
133
|
parser.add_argument("script", help="Script to run and profile")
|
|
134
134
|
parser.add_argument(
|
|
@@ -421,7 +421,7 @@ def profile_mpi4py(
|
|
|
421
421
|
"""Temporarily profile mpi4py's predefined communicators.
|
|
422
422
|
|
|
423
423
|
When *lazy* is true, mpi4py is wrapped only if the target imports it. This
|
|
424
|
-
lets ``scope-profiler run`` enable MPI-call profiling
|
|
424
|
+
lets ``scope-profiler run --mpi-calls`` enable MPI-call profiling without
|
|
425
425
|
importing or initializing MPI for an ordinary serial program. Both globals
|
|
426
426
|
and Python's import function are restored even when the program raises.
|
|
427
427
|
"""
|
|
@@ -107,7 +107,7 @@ def test_run_line_profile_flag_is_passed_to_setup(tmp_path, monkeypatch):
|
|
|
107
107
|
assert calls["setup"]["use_line_profiler"] is True
|
|
108
108
|
assert calls["setup"]["use_memray"] is True
|
|
109
109
|
assert calls["setup"]["recursive_profile"] is True
|
|
110
|
-
assert calls["setup"]["profile_mpi_calls"] is
|
|
110
|
+
assert calls["setup"]["profile_mpi_calls"] is None
|
|
111
111
|
assert calls["run_script"] == {
|
|
112
112
|
"path": str(script),
|
|
113
113
|
"script_args": ["arg"],
|
|
@@ -116,7 +116,7 @@ def test_run_line_profile_flag_is_passed_to_setup(tmp_path, monkeypatch):
|
|
|
116
116
|
assert calls["finalize"] == {"verbose": False}
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
def
|
|
119
|
+
def test_run_does_not_enable_mpi_calls_by_default(tmp_path, monkeypatch):
|
|
120
120
|
script = tmp_path / "script.py"
|
|
121
121
|
script.write_text("pass\n", encoding="utf-8")
|
|
122
122
|
calls = {}
|
|
@@ -136,6 +136,30 @@ def test_run_enables_mpi_calls_in_profiling_options(tmp_path, monkeypatch):
|
|
|
136
136
|
|
|
137
137
|
cli_main(["run", str(script)])
|
|
138
138
|
|
|
139
|
+
# None lets setup() use its False default, or a config file opt in.
|
|
140
|
+
assert calls["setup"]["profile_mpi_calls"] is None
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def test_run_can_enable_automatic_mpi_call_profiling(tmp_path, monkeypatch):
|
|
144
|
+
script = tmp_path / "script.py"
|
|
145
|
+
script.write_text("pass\n", encoding="utf-8")
|
|
146
|
+
calls = {}
|
|
147
|
+
|
|
148
|
+
monkeypatch.setattr(
|
|
149
|
+
"scope_profiler.__main__.ProfileManager.setup",
|
|
150
|
+
lambda **kwargs: calls.update(setup=kwargs),
|
|
151
|
+
)
|
|
152
|
+
monkeypatch.setattr(
|
|
153
|
+
"scope_profiler.__main__.ProfileManager.run_script",
|
|
154
|
+
lambda *args, **kwargs: None,
|
|
155
|
+
)
|
|
156
|
+
monkeypatch.setattr(
|
|
157
|
+
"scope_profiler.__main__.ProfileManager.finalize",
|
|
158
|
+
lambda **kwargs: None,
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
cli_main(["run", "--mpi-calls", str(script)])
|
|
162
|
+
|
|
139
163
|
assert calls["setup"]["profile_mpi_calls"] is True
|
|
140
164
|
|
|
141
165
|
|
|
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
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/callgraph.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/durations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/heatmap.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/histogram.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/imbalance.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/perf_events.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/roofline.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/scaling.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/statistics.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/plotting_scripts/timeline.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
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/check_parallel_hdf5.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
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_api_shortcuts.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_async_profiling.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_buffer_growth.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_c_hdf5_output.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_chrome_trace_export.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_documented_formats.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_in_memory_results.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_ipython_magics.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_line_profile_cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_mixed_language.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_multiple_sessions.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_multiprocessing.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_post_processing.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_profile_config_toml.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_profiling_options.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_pytest_plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_region_source.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_repeated_finalize.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_speedscope_export.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/test_summary_likwid.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_call_stack.py
RENAMED
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_callgraph_plot.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_concurrency.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_gpu_timing.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_h5_failure_paths.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_h5_roundtrip.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_h5writer.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_lazy_config.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_likwid_child_env.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_merge_results.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_mpi_launch.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_mpi_wrappers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_recursive_tracer.py
RENAMED
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler/tests/unit/test_region_variants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scope_profiler-0.6.3 → scope_profiler-0.6.4}/src/scope_profiler.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|