HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 77 community runs

Desktop Results:
Chrome 62 runs
JSON.stringify
1.6M/s
Sum
114K/s
Object-hash
9K/s

Fastest: JSON.stringify (184.9x faster)

View exact numbers
  • JSON.stringify: 1,601,196 ops/sec
  • Sum: 114,449 ops/sec
  • Object-hash: 8,661 ops/sec
Firefox 15 runs
JSON.stringify
1.4M/s
Sum
56K/s
Object-hash
5K/s

Fastest: JSON.stringify (258.2x faster)

View exact numbers
  • JSON.stringify: 1,367,862 ops/sec
  • Sum: 55,988 ops/sec
  • Object-hash: 5,297 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
    Sum
    Object-hash
    JSON.stringify

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36
Chrome Mobile 137 on Android
View result in a separate tab
JSON.stringify
1.1M/s
Sum
81K/s
Object-hash
4K/s
View exact numbers
Test name Executions per second
JSON.stringify 1,082,386 Ops/sec
Sum 81,473 Ops/sec
Object-hash 3,726 Ops/sec