HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 11 community runs

Desktop Results:
Chrome 6 runs
JSON.stringify
3.8M/s
Object hash
12K/s

Fastest: JSON.stringify (309.3x faster)

View exact numbers
  • JSON.stringify: 3,832,229 ops/sec
  • Object hash: 12,389 ops/sec
Firefox 5 runs
JSON.stringify
1.0M/s
Object hash
4K/s

Fastest: JSON.stringify (276.0x faster)

View exact numbers
  • JSON.stringify: 1,036,403 ops/sec
  • Object hash: 3,756 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
    Object hash
    JSON.stringify

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:150.0) Gecko/20100101 Firefox/150.0
Firefox 150 on Linux
View result in a separate tab
JSON.stringify
1.3M/s
Object hash
6K/s
View exact numbers
Test name Executions per second
JSON.stringify 1,278,262 Ops/sec
Object hash 5,958 Ops/sec