uv/crates/uv-build
konsti 15f0be8f04
Allow profiling tests with tracing instrumentation (#2957)
To get more insights into test performance, allow instrumenting tests
with tracing-durations-export.

Usage:

```shell
# A single test
TRACING_DURATIONS_TEST_ROOT=$(pwd)/target/test-traces cargo test --features tracing-durations-export --test pip_install_scenarios no_binary -- --exact
# All tests
TRACING_DURATIONS_TEST_ROOT=$(pwd)/target/test-traces cargo nextest run --features tracing-durations-export
```

Then we can e.g. look at
`target/test-traces/pip_install_scenarios::no_binary.svg` and see the
builds it performs:


![image](40b4e094-debc-4b22-8aa3-9471998674af)
2024-04-10 10:15:27 +00:00
..
src Allow profiling tests with tracing instrumentation (#2957) 2024-04-10 10:15:27 +00:00
.gitignore Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
Cargo.toml Split configuration options out of uv-types (#2924) 2024-04-09 11:35:53 -05:00