Problem
During the investigation, Babylon registry-clean showed vlt at about 1.13× npm even though request-log analysis excluded registry-side causes:
- no packument exceeded one second across roughly 7,600 fetches;
- vlt tarballs were faster in aggregate;
- vlt packument p99 was about half npmjs’s.
The remaining suspect is harness order. npm always executes first, Babylon extracts about 1,858 tarballs, and vlt showed a 14-second run-to-run spread versus npm’s 3 seconds, consistent with environmental drift.
Experiment
Run Babylon registry-clean with registry order reversed (ideally alternate/randomize order across repetitions). scripts/registry/common.sh currently uses hard-coded command order even when BENCH_INCLUDE_REGISTRY lists a different order, so either honor list order or use a controlled experiment branch.
Acceptance criteria
Source
Performance investigation: item 10 — Babylon registry-clean anomaly
Problem
During the investigation, Babylon
registry-cleanshowed vlt at about 1.13× npm even though request-log analysis excluded registry-side causes:The remaining suspect is harness order. npm always executes first, Babylon extracts about 1,858 tarballs, and vlt showed a 14-second run-to-run spread versus npm’s 3 seconds, consistent with environmental drift.
Experiment
Run Babylon
registry-cleanwith registry order reversed (ideally alternate/randomize order across repetitions).scripts/registry/common.shcurrently uses hard-coded command order even whenBENCH_INCLUDE_REGISTRYlists a different order, so either honor list order or use a controlled experiment branch.Acceptance criteria
Source
Performance investigation: item 10 — Babylon registry-clean anomaly