Skip to content

Ablate parallel cache size traversal - #1518

Draft
zaniebot wants to merge 22 commits into
zb/bench-cache-managementfrom
zb/bench-ablate-cache-size
Draft

zaniebot wants to merge 22 commits into
zb/bench-cache-managementfrom
zb/bench-ablate-cache-size

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Restore the serial WalkDir traversal used before astral-sh#17015 while retaining the current cache size interface. This isolates filesystem traversal and metadata lookup costs for the real-wheel cache workload.

@astral-automations-bot astral-automations-bot Bot added performance preview Experimental behavior labels Sep 11, 2026
@zaniebot
zaniebot force-pushed the zb/bench-cache-management branch 5 times, most recently from a7218da to f04b226 Compare September 12, 2026 02:03
@zaniebot
zaniebot force-pushed the zb/bench-ablate-cache-size branch from a1edc66 to 76d91eb Compare September 12, 2026 03:11
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 33.33%

❌ 24 regressed benchmarks
✅ 97 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ WallTime size 32 ms 81.7 ms -60.84%
❌ WallTime prune 17.7 ms 34.5 ms -48.72%
❌ WallTime clean_flask 19.6 ms 36.2 ms -45.86%
❌ WallTime dry_run[flask] 20.2 ms 37.2 ms -45.68%
❌ WallTime find[warm] 22.9 ms 39.6 ms -42.23%
❌ WallTime list_exclude 23.1 ms 39.6 ms -41.78%
❌ WallTime list 23.2 ms 39.6 ms -41.46%
❌ WallTime freeze 23.5 ms 40 ms -41.32%
❌ WallTime install_no_deps 23.8 ms 40.3 ms -41.1%
❌ WallTime version[uv] 25 ms 41.5 ms -39.73%
❌ WallTime export[uv] 29 ms 45.5 ms -36.2%
❌ WallTime tree[uv] 30 ms 46.4 ms -35.49%
❌ WallTime workspace_metadata[uv] 34.1 ms 50.9 ms -32.87%
❌ WallTime check 40 ms 56.2 ms -28.84%
❌ WallTime dry_run[sympy] 46.6 ms 64 ms -27.15%
❌ WallTime tree[prefect] 55.3 ms 70.8 ms -21.98%
❌ WallTime export[prefect] 60 ms 76 ms -21.04%
❌ WallTime run_no_sync 62.2 ms 78.6 ms -20.94%
❌ WallTime dry_run[jupyterlab] 69.7 ms 87 ms -19.9%
❌ WallTime sync_frozen 63.5 ms 78.6 ms -19.26%
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing zb/bench-ablate-cache-size (77cb43a) with zb/bench-cache-management (f04b226)1

Open in CodSpeed

Footnotes

  1. No successful run was found on zb/bench-cache-management (99d00fd) during the generation of this report, so 7c8d322 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@zaniebot
zaniebot force-pushed the zb/bench-cache-management branch from deeccd2 to 99d00fd Compare September 12, 2026 07:02
@zaniebot
zaniebot force-pushed the zb/bench-ablate-cache-size branch from d482ffe to 77cb43a Compare September 12, 2026 08:48
@zaniebot
zaniebot force-pushed the zb/bench-cache-management branch from 99d00fd to 9e6cbbf Compare September 12, 2026 13:29
@zaniebot zaniebot added risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. priority:5 Backlog: speculative, cosmetic, or low-value work that can comfortably be deferred. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect. labels Sep 22, 2026
@zaniebot zaniebot added the build:skip-release Disable building release binaries for a pull request label Oct 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:skip-release Disable building release binaries for a pull request performance preview Experimental behavior priority:5 Backlog: speculative, cosmetic, or low-value work that can comfortably be deferred. risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants