Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Mac OS X 10.15.7
Desktop
2 months ago
Test name Executions per second
lodash isEqual 415622.5 Ops/sec
arraysEqual 2178.6 Ops/sec
JSON.stringify (WONT WORK WITH OBJECTS) 2182.5 Ops/sec
Option 2 3330.0 Ops/sec
option 3 27864.9 Ops/sec
Option 4 2188.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash isEqual

  • arraysEqual

  • JSON.stringify (WONT WORK WITH OBJECTS)

  • Option 2

  • option 3

  • Option 4


;