@charliermarsh: Inspired by some code in Bun, I moved uv’s ZIP extraction into a single blocking task per archive (with synchronous fil…
Summary
uv's ZIP extraction has been optimized by moving it to a single blocking task with synchronous filesystem operations, inspired by code from Bun, leading to faster installation of packages like Jupyter from PyPI.
View Cached Full Text
Cached at: 09/13/26, 12:58 AM
Inspired by some code in Bun, I moved uv’s ZIP extraction into a single blocking task per archive (with synchronous filesystem operations).
Installing Jupyter from PyPI is now 25-30% faster, and >60% faster with a local server. https://t.co/AMuIoeJd7J
Similar Articles
@charliermarsh: We found an optimization in uv's resolver that sped up Jupyter by 13%, and Boto3 by 2.4x (since it requires so much bac…
An optimization in uv's resolver improves performance for Jupyter by 13% and Boto3 by 2.4x, detailed in a write-up.
@charliermarsh: We found a few optimizations that let us reduce the size of uv.lock files by "compressing" the environment markers. Som…
uv's lockfile size reduced by 40-50% through compression of environment markers.
@charliermarsh: In the latest uv release, you can now install from a uv lockfile alone, without a pyproject.toml. This is designed for …
In the latest uv release, you can now install directly from a uv lockfile without needing a pyproject.toml, enabling better Docker/CI layer caching since dependency layers are no longer invalidated by pyproject.toml changes.
@charliermarsh: uv binary size over time
Charlie Marsh shares a chart showing how the binary size of uv, a Python package manager, has changed over time.
@charliermarsh: We now ship code-signed binaries for uv, for both macOS and Windows! This applies to our standalone installers and the …
uv now ships code-signed binaries for macOS and Windows, available in standalone installers and PyPI wheels, enhancing security and distribution.