Browser Benchmark
Measure JavaScript and DOM performance
Between 50 and 20,000; higher values smooth out timer jitter.
What is measured
- DOM operations — Create, append, measure and remove 12 elements per iteration.
- Array methods — map / filter / reduce over 512 seeded numbers per iteration.
- String manipulation — Join 64 generated strings and run an indexOf probe per iteration.
- Math (xorshift32) — 128 deterministic xorshift32 rounds with an accumulating checksum.
- JSON parse / stringify — Stringify and parse 24 nested records per iteration.
Each suite gets 5 untimed warm-up passes, then timed in chunks of 100. One operation is one complete workload iteration. Overall score is the geometric mean of ops/sec. Reference speeds are indicative constants — compare runs on the same device and browser.
Results
| Test | Ops/sec | Relative score |
|---|---|---|
| DOM operations | — | — |
| Array methods | — | — |
| String manipulation | — | — |
| Math (xorshift32) | — | — |
| JSON parse / stringify | — | — |
Press “Run Benchmark” to measure this device. Results are not uploaded or saved.
Examples
Compare browsers
Run the battery in Chrome and Safari on the same machine, then compare the per-suite ops/sec and relative scores.
Smooth out jitter
Raise the iteration count to 5,000 or more for steadier timings before trusting small score differences.
Stop early
Cancel a run at any time; the suites already completed stay visible and are marked as a partial run.
About this tool
Runs five fixed workloads — DOM operations, array methods, string manipulation, math and JSON parse/stringify — for a chosen number of iterations and reports operations per second plus a geometric-mean overall score. Every suite has an untimed warm-up, is timed in small chunks so the page stays responsive, and uses a stable checksum so work cannot be optimized away. Reference speeds are published constants; scores are most meaningful when comparing runs on the same device and browser. Nothing is uploaded.
What this tool does not do
- Processes only the inputs provided in this session without connecting to external accounts or background servers.
- Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.
How to use this tool
Keep the tab active
Close heavy background tabs and choose your iteration count.
Run the benchmark suite
Execute DOM, array, string, math, and JSON workloads with automatic warm-up.
Compare ops/sec locally
Save the run locally to compare browsers or hardware side by side.
Use cases
Compare browsers
Run the battery in Chrome and Safari on the same machine, then compare the per-suite ops/sec and relative scores.
Smooth out jitter
Raise the iteration count to 5,000 or more for steadier timings before trusting small score differences.
Stop early
Cancel a run at any time; the suites already completed stay visible and are marked as a partial run.
Common mistakes
Mistake:Can I compare scores across different devices or browsers?
Fix:Yes, provided both runs keep the benchmark tab in the foreground with power-saving modes disabled. Comparing Chrome, Firefox, and Safari on the exact same hardware isolates JS engine and DOM differences.
Mistake:Why does backgrounding the tab affect benchmark accuracy?
Fix:Browsers throttle timers and CPU scheduling in background tabs and battery-saver modes, so keep the window active and plugged in during a run.
Frequently asked questions
What do the individual suite scores measure?
Five deterministic workloads benchmark DOM tree updates, array transformations, string manipulation, numeric math, and JSON serialization, reporting operations per second and a geometric-mean composite score.
Can I compare scores across different devices or browsers?
Yes, provided both runs keep the benchmark tab in the foreground with power-saving modes disabled. Comparing Chrome, Firefox, and Safari on the exact same hardware isolates JS engine and DOM differences.
Why does backgrounding the tab affect benchmark accuracy?
Browsers throttle timers and CPU scheduling in background tabs and battery-saver modes, so keep the window active and plugged in during a run.
Where are saved benchmark runs kept?
Saved runs stay exclusively in your browser's localStorage for local comparison; no device metrics or user-agent strings are uploaded.
Related tools
Battery Status Monitor
Watch battery level, charging state and discharge rate live with a rolling chart and time-to-empty projection.
Bluetooth Device Inspector
Inspect BLE GATT trees in the browser: services, characteristics, descriptors, live values and notifications.
Device Information
See what your browser reveals about your device — screen, hardware hints, platform and capabilities.
Digital Bubble Level
Measure surface tilt with a visual bullseye and a ±0.2° level threshold.
Digital Compass
Read a device heading with a manual desktop simulator and magnetic interference guidance.
Flashlight & Signal Beacon
Use a supported phone LED or a dimmable full-screen light with blink patterns, SOS and Morse signals.