HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 71 community runs

Desktop Results:
Chrome 60 runs
_.isEqual
1.0M/s
JSON.stringify
381K/s

Fastest: _.isEqual (2.7x faster)

View exact numbers
  • _.isEqual: 1,033,681 ops/sec
  • JSON.stringify: 380,946 ops/sec
Firefox 11 runs
JSON.stringify
597K/s
_.isEqual
577K/s
View exact numbers
  • JSON.stringify: 597,280 ops/sec
  • _.isEqual: 576,516 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
    _.isEqual
    JSON.stringify

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Chrome 149 on Mac OS X 10.15.7
View result in a separate tab
_.isEqual
908K/s
JSON.stringify
359K/s
View exact numbers
Test name Executions per second
_.isEqual 907,685 Ops/sec
JSON.stringify 359,444 Ops/sec