Skip to content

Ablate parsed project-source metadata reuse - #1584

Draft
zaniebot wants to merge 59 commits into
zb/bench-source-requirementsfrom
zb/bench-ablate-source-requirements
Draft

zaniebot wants to merge 59 commits into
zb/bench-source-requirementsfrom
zb/bench-ablate-source-requirements

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Read and parse pyproject.toml again when extracting a project source's requirements instead of reusing the value already parsed during source discovery. This restores the redundant work removed by astral-sh#15851 and keeps requirement lowering unchanged.

@zaniebot
zaniebot force-pushed the zb/bench-source-requirements branch from cc640fc to 0e3ff11 Compare September 12, 2026 07:09
@zaniebot
zaniebot force-pushed the zb/bench-ablate-source-requirements branch from d8a5fa6 to eee15e4 Compare September 12, 2026 07:39
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 22.02%

❌ 10 regressed benchmarks
✅ 327 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Simulation no_sources[uv] 1.9 ms 2.6 ms -27.55%
❌ WallTime no_sources[uv] 876.2 µs 1,184.1 µs -26%
❌ Simulation run_python_version_synthetic_workspace 530.3 ms 715.7 ms -25.9%
❌ WallTime advised_cold_data[django] 1.1 s 1.5 s -24.88%
❌ Simulation no_sources[prefect] 4.8 ms 6.3 ms -23.52%
❌ WallTime no_sources[prefect] 1.9 ms 2.4 ms -21.2%
❌ WallTime no_sources[packse] 617.7 µs 774.5 µs -20.25%
❌ WallTime run_python_version_synthetic_workspace 280 ms 348.3 ms -19.6%
❌ Simulation no_sources[packse] 1.1 ms 1.4 ms -17.93%
❌ WallTime advised_cold_data[uv] 158.7 ms 180.5 ms -12.12%

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-source-requirements (eee15e4) with zb/bench-source-requirements (0e3ff11)

Open in CodSpeed

@zaniebot
zaniebot force-pushed the zb/bench-source-requirements branch from 0e3ff11 to 8462467 Compare September 12, 2026 13:38
@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 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