Script Preparation code:
Tests:

Historical Performance Data aggregated from 15 community runs

Desktop Results:
Chrome 15 runs
Array.every
3.9M/s
JSON.stringify
2.5M/s

Fastest: Array.every (1.5x faster)

View exact numbers
  • Array.every: 3,880,132 ops/sec
  • JSON.stringify: 2,507,224 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    JSON.stringify
    Array.every

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Linux
View result in a separate tab
Array.every
68.3M/s
JSON.stringify
2.5M/s
View exact numbers
Test name Executions per second
Array.every 68,323,336 Ops/sec
JSON.stringify 2,495,570 Ops/sec