Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up scenarios test by vendoring wheels to #169

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

konstin
Copy link
Member

@konstin konstin commented Apr 10, 2024

The find links index previously did not contain wheels for all packages, causing unnecessary nested builds.

Before:

Benchmark 1: cargo nextest run -E "binary_id(uv::pip_install_scenarios)"
  Time (mean ± σ):      3.434 s ±  0.181 s    [User: 38.863 s, System: 7.532 s]
  Range (min … max):    3.325 s …  3.643 s    3 runs

After:

Benchmark 1: cargo nextest run -E "binary_id(uv::pip_install_scenarios)"
  Time (mean ± σ):      1.762 s ±  0.028 s    [User: 26.403 s, System: 5.404 s]
  Range (min … max):    1.734 s …  1.790 s    3 runs

The find links index previously did not contain wheels for all packages, causing unnecessary nested builds.

Before:

```
Benchmark 1: cargo nextest run -E "binary_id(uv::pip_install_scenarios)"
  Time (mean ± σ):      3.434 s ±  0.181 s    [User: 38.863 s, System: 7.532 s]
  Range (min … max):    3.325 s …  3.643 s    3 runs
```

After:

```
Benchmark 1: cargo nextest run -E "binary_id(uv::pip_install_scenarios)"
  Time (mean ± σ):      1.762 s ±  0.028 s    [User: 26.403 s, System: 5.404 s]
  Range (min … max):    1.734 s …  1.790 s    3 runs
```
@zanieb
Copy link
Member

zanieb commented Apr 10, 2024

<3 thanks

@zanieb zanieb merged commit 9d5fe37 into astral-sh:main Apr 10, 2024
5 checks passed
@konstin konstin deleted the konsti/add-wheels branch April 10, 2024 14:11
zanieb added a commit to astral-sh/uv that referenced this pull request Apr 10, 2024
Should improve test performance with
astral-sh/packse#169 thanks @konstin !
konstin added a commit to konstin/packse that referenced this pull request Apr 10, 2024
@konstin konstin mentioned this pull request Apr 10, 2024
zanieb pushed a commit that referenced this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants