mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Stage profiling root as a namespace until sampling is available
Omit the whole newly added canonical package initializer rather than advertise an absent sampling module or hand-edit canonical __all__. Explicit profiling.tracing and cProfile imports remain available. The namespace root intentionally lacks canonical metadata/automatic exports. This addresses test___all__ failures in the prior Linux, macOS and Windows CI runs. No test assertions, skips or canonical file contents are changed. Assisted-by: dot:GPT-6.1
This commit is contained in:
1 parent
78b21a2a72
commit
52f23593e2
1 file changed
-13
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
"""Python profiling tools.
|
||||
|
||||
This package provides two types of profilers:
|
||||
|
||||
- profiling.tracing: Deterministic tracing profiler that instruments every
|
||||
function call and return. Higher overhead but provides exact call counts
|
||||
and timing.
|
||||
|
||||
- profiling.sampling: Statistical sampling profiler that periodically samples
|
||||
the call stack. Low overhead and suitable for production use.
|
||||
"""
|
||||
|
||||
__all__ = ("tracing", "sampling")
|
||||
Reference in new issue
Block a user