Repository navigation
v0.4.1
A small release from one user session's feedback: perf can bypass the HTTP cache with --cold, perf compare no longer hangs after the first URL and names the URL and step when it does time out, and navigate gained --wait-idle. No flags were removed or renamed.
Added
perf summary|vitals|audit|compare --cold: bypasses the HTTP cache for that command's loads (Firefox'scacheDisabled, scoped to the command's connection), sototal_transfer_sizeand the vitals reflect a network load instead of zeros. The envelope carriesmeta.cache: "bypassed". It does not touch service worker caches or warm TCP/TLS/DNS state. The non-compare subcommands reload the current page first.navigate --wait-idle [--idle-ms N](default 500 ms, floor 200 ms): after the document commits, waits until no network event has arrived for the quiet window, then until in-viewport and non-lazy images are complete, all within--timeout-ms. Addsresults.idle = {idle_at_ms, requests_observed, images_complete, lazy_images_deferred}. Runs before--wait-for/--wait-text/--wait-selector; conflicts with--no-waitand--with-network. Off-screenloading="lazy"images are never fetched by Firefox and are counted, not waited for.reload --wait-idleshares the same drain loop.
Changed
perf compare:--helpnow says--timeoutbounds each step (connect,navigate,readystate,collect), not the whole run. A readyState timeout is now aTimeouterror (exit 124) instead of aUsererror.a11y --helpdescribesa11y summaryoutput as the object it actually returns (landmarks,headings,interactive), matchinga11y summary --help.
Fixed
perf comparehung on the second URL even at the default timeout: afternavigateToit readdocument.readyStateon the old page (alreadycomplete) and sent the collect eval to that page's dead console actor. Each URL now uses the same commit wait asnavigate, and timeouts name the URL and the step instead of a barephase: recv.
Internal
- Mock-server fixtures can now be cached (
Cache-Control: no-storeis only the default); new live testslive_295_perf_coldandlive_295_navigate_wait_idle; new recordedcacheDisabledfixture. Plan:kb/iterations/iteration-295-feedback-quick-fixes.md.