Repository navigation
Commit 4dd39e8
Use uncompressed editable wheels (#21918)
Editable wheels currently use the normal Deflate writer even though the
backend has an uncompressed writer for them. Route `build_editable`
through that writer so the temporary wheel entries use Stored
compression. Regular wheel compression and the installed file contents
are unchanged.
Local release benchmarks against the exact parent reduce time in
`build_editable` by 7.8% (95% CI 5.8–9.7%) for a minimal package and
6.8% (95% CI 3.5–11.6%) for `built-by-uv`. A same-process comparison and
CPU timings support the savings; forced `uv sync` reinstalls did not
show a measurable end-to-end improvement. [Detailed
benchmarks](astral-sh#1999 (comment)).
Co-authored-by: zaniebot <[email protected]>1 parent 0c8da51 commit 4dd39e8
2 files changed
Lines changed: 30 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| 482 | + | |
482 | 483 | | |
483 | 484 | | |
484 | 485 | | |
| |||
719 | 720 | | |
720 | 721 | | |
721 | 722 | | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
722 | 751 | | |
723 | 752 | | |
724 | 753 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
848 | 847 | | |
849 | 848 | | |
850 | 849 | | |
| |||
0 commit comments