Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36
Chrome 101
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
_.isEqual Level 1 797601.2 Ops/sec
JSON.stringify Level 1 549901.8 Ops/sec
_.isEqual Level 2 499181.1 Ops/sec
JSON.stringify Level 2 548574.8 Ops/sec
_.isEqual Level 3 372826.0 Ops/sec
JSON.stringify Level 3 548753.7 Ops/sec
isJSONEqual Level 1 869235.8 Ops/sec
isJSONEqual Level 2 498605.0 Ops/sec
isJSONEqual Level 3 353803.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEqual Level 1

  • JSON.stringify Level 1

  • _.isEqual Level 2

  • JSON.stringify Level 2

  • _.isEqual Level 3

  • JSON.stringify Level 3

  • isJSONEqual Level 1

  • isJSONEqual Level 2

  • isJSONEqual Level 3