Benchmark progress: socket-patch scan #575
Replies: 5 comments
|
[agent] Bench: mirror test. The bench/ledger workflow posted this comment. Daily runs add their summaries after it. Generated by Claude Code |
|
[agent] Bench: run 2026-10-03, main
Generated by Claude Code |
|
[agent] Janitor: state drift. The body still lists #579 as an open regression ( Generated by Claude Code |
|
[agent] Bench: run 2026-10-04, main
Generated by Claude Code |
|
[agent] Bench: run 2026-10-05, main
Generated by Claude Code |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
[agent] Bench: progress log for the
socket-patch scanbenchmark suite (crates/socket-patch-bench,.github/workflows/bench.yml). The daily benchmark steward rewrites this body on every run and posts one comment per run. Machine-readable history is inhistory.jsonon thebench/ledgerbranch. The first run (2026-10-02) was logged in #580 and backfilled there.Last run
045d7ec7(Bound patch API connects and stalled reads, Bound patch API connects and stalled reads (#570) #581). Unchanged since 2026-10-02.mainplus Bench: cover Bun isolated .bun store; fix rescan restore #667 (bench/refresh:bun-isolated/*and the rescan-restore harness fix). The CLI is identical to main.compare.045d7ec7).1a8608b3predates the v5 output (v5 prerelease: scan → vex → vendor workflow, hosted by default #277), so the base is2463257a(v5 prerelease: scan → vex → vendor workflow, hosted by default #277). 7 pairs + 10 confirm. Still confirmed: bun/hosted +107.3%, bun/rescan +92.2% (Perf regression: bun/hosted wall +110% (1169ae68, #472) #578, open) and vlt/hosted +123.3% (Perf regression: vlt/hosted wall +127% (1169ae68, #472) #579, accepted). vlt/rescan wasn't completed today: the compare was interrupted by a session timeout during its confirm round, and its cost is already accepted. The other 33 comparable scenarios are unchanged.yarn-berry/*andbun-isolated/*have no comparable base.Scoreboard
Day: no daily base today. Week: wall ratio vs
2463257a(#277). ms/pkg median across*/hostedis 0.1481 (on today's slower runner).npm/hostednpm/rescanpnpm/hostedpnpm/rescanyarn-classic/hostedyarn-classic/rescanyarn-berry/hostedyarn-berry/rescanbun/hostedbun/rescanbun-isolated/hosted(in #667)bun-isolated/rescan(in #667)vlt/hostedvlt/rescanpip/hostedpip/rescanuv/hosteduv/rescanpylock/hostedpylock/rescanpoetry/hostedpoetry/rescanpipenv/hostedpipenv/rescanpdm/hostedpdm/rescanbundler/hostedbundler/rescancomposer/hostedcomposer/rescancargo/hostedcargo/rescangolang/hostedgolang/rescannuget/hostednuget/rescanmaven/hostedmaven/rescannpm/dry-runnpm/public-proxynpm/latencyTrends
Median
<pm>/hostedwall time per run, oldest → newest (ms). Runners differ between runs (10-05 was about 1.4x slower everywhere), so read these as trends only.Open issues and PR
rewrite_bun_lockcallsbun_lock_text::is_bundled_entry, which JSON-parses each entry once per patch. Accepting it the way Perf regression: vlt/hosted wall +127% (1169ae68, #472) #579 was accepted is a human call.bench/refresh): Bench: cover Bun isolated .bun store; fix rescan restore. Ready for review, CI green. No changes today.Standing slow-systems list
A package manager is slow when its ms/pkg is more than 2x the median across
*/hosted(0.1481 today), or when any of its scenarios takes over 500 ms (npm/latencyis excluded). An issue opens after 3 consecutive runs, capped at 3 new issues per run.utils::poetry_lock::rewrite_poetry_lock_in, 77% (toml_editparse 45.5%, re-serialize 18%; whole lock re-parsed per patch). Callgrind 10-04redirect::vlt(callgrind 10-02)utils::pdm_lock::rewrite_pdm_lock_in, 77% (same per-patch re-parse as Poetry). Callgrind 10-04PythonLockSession::rewrite39%, mostlyDocumentMutDisplay (whole lock re-serialized per patched dep,redirect/mod.rs~L4675); vexpypi_locks::extractre-parse 23%. Callgrind 10-05formats::cargo::CargoLock::parseinsiderewrite_cargo, 79% (several full parses per patched crate). Callgrind 10-04PythonLockSession::rewrite38% (Display 35%); vexpypi_locks::extract31%. Callgrind 10-05No scenario's peak RSS is above 2x the median (34.8 MiB). Scenarios over 500 ms: vlt/hosted, vlt/rescan (npm/latency is excluded by design).
Coverage-gap backlog
No new scan commits on main since 2026-10-02, so no new gaps. Carried over:
nodeLinker: pnpm,node_modules/.store, Fix npm crawler missing Bun, Deno and Yarn 4 stores (#366, #373, #405, #495) #496): yarn-berry is covered only with the node-modules linker.npm:…::__archiveUrlpins (Fix yarn berry hosted pin leaking npm auth (#404) #465): a rescan over pre-Fix yarn berry hosted pin leaking npm auth (#404) #465 lockfiles is uncovered.bun_binaryrewriter and codec (Fix Bun/vlt bundled copies left unpatched (#469, #471) #472) are unbenchmarked.redirect_*_bundled_instance_skippedpaths (Fix Bun/vlt bundled copies left unpatched (#469, #471) #472).hatch.tomlis a HOSTED|PROBE pypi input, but there is nopm:hatchscenario. Open PRs Fix Hatch environments being invisible to stale-install checks and VEX (#335) #700/Fix uv/Hatch hosted re-pin to a newer patch (#742, #650) #743/Fix Hatch takeover leaving direct-ref permission (#674) #680 are reworking Hatch, so add coverage after they land.pm:gradle). Full Gradle support in agent, hosted and vendored modes #646 (open) adds full Gradle support.UV_PROJECT_ENVIRONMENT/ PDM venv locations (Fix Python env discovery ignoring uv/PDM env (#502, #525, #528) #540),.egg-info(Fix Python crawler missing .egg-info installs (#447) #452), Poetryenvs.toml(Fix Poetry venv selection ignoring envs.toml (#476, #526) #527) and lock-onlyrequirements.txt(Fix lock-only requirements.txt discovery (#412, #523) #530) are uncovered..bundle/config(Fix Bundler settings resolution order (#483, #507) #532) and Gemfile declaration dedupe (Fix Gemfile rewrites duplicating gem declarations (#482, #548) #552): only one layer is covered.Bun isolated: covered by.bunstore (Fix npm crawler missing Bun, Deno and Yarn 4 stores (#366, #373, #405, #495) #496)bun-isolated/*in Bench: cover Bun isolated .bun store; fix rescan restore #667.Stale / redundant scenarios
None yet. 14+ days of history are needed before merging any hosted/rescan pairs (4 days so far). Candidate:
bun/rescanoverlapsbun-isolated/rescanon the lockfile path.Generated by Claude Code
All reactions