Skip to content

correct usage examples for tachyon sampler #143159

@KRRT7

Description

@KRRT7

currently the documentation states in https://docs.python.org/3.15/library/profiling.sampling.html#module-profiling.sampling
python -m profiling.sampling run script.py

which gives

python -m profiling.sampling run script
Profiler coordinator error: Script not found: /home/azureuser/Nuitka/run
Captured 90 samples in 0.01 seconds
Sample rate: 10000.08 samples/sec
Error rate: 1.11%
No samples were collected.

so it should be
python -m profiling.sampling script.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions