whitphx's picture
whitphx HF Staff
Warm/Cold tests, repeated tests
b4867cc
|
raw
history blame
434 Bytes

bench-web (warm/cold, repeats, p50/p90)

Setup

cd bench-web
npm i

Run (dev)

npm run dev
# open http://localhost:5173

How it works

  • warm: prefetch once (non-measured) β†’ auto-reload β†’ measure repeats times with disk caches populated.
  • cold: clear Cache Storage & IndexedDB, then measure in the same tab
    • Note: only the 1st iteration is strictly cold within a single page session.