mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-20 11:56:03 +00:00
The optional `tracing-durations-export` feature allows creating parallelism plots from all puffin-cli commands without affecting production builds. Usage: ``` virtualenv --clear -p 3.10 .venv310 && TRACING_DURATIONS_FILE=target/traces/jupyter-no-cache.ndjson RUST_LOG=puffin=info VIRTUAL_ENV=.venv310 cargo run --bin puffin --profile profiling --features tracing-durations-export -- pip-install -v --no-cache jupyter virtualenv --clear -p 3.10 .venv310 && TRACING_DURATIONS_FILE=target/traces/jupyter.ndjson RUST_LOG=puffin=info VIRTUAL_ENV=.venv310 cargo run --bin puffin --profile profiling --features tracing-durations-export -- pip-install -v jupyter ``` Output, plotted in collapsed mode for readability: Cached jupyter: ![jupyter]( |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||