HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 143 community runs

Desktop Results:
Chrome 106 runs
JSON.stringify
26K/s
object-hash
88/s

Fastest: JSON.stringify (294.3x faster)

View exact numbers
  • JSON.stringify: 25,879 ops/sec
  • object-hash: 88 ops/sec
Firefox 24 runs
JSON.stringify
15K/s
object-hash
44/s

Fastest: JSON.stringify (331.8x faster)

View exact numbers
  • JSON.stringify: 14,647 ops/sec
  • object-hash: 44 ops/sec
Other 8 runs
JSON.stringify
26K/s
object-hash
74/s

Fastest: JSON.stringify (352.8x faster)

View exact numbers
  • JSON.stringify: 25,956 ops/sec
  • object-hash: 74 ops/sec
Mobile Results:
Safari 5 runs
JSON.stringify
15K/s
object-hash
67/s

Fastest: JSON.stringify (221.1x faster)

View exact numbers
  • JSON.stringify: 14,794 ops/sec
  • object-hash: 67 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
    object-hash

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Chrome 138 on Mac OS X 10.15.7
View result in a separate tab
JSON.stringify
29K/s
object-hash
65/s
View exact numbers
Test name Executions per second
JSON.stringify 29,176 Ops/sec
object-hash 65 Ops/sec