Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Windows
Desktop
one year ago
Test name Executions per second
_.isEqual identical 1111275.4 Ops/sec
_.isEqual missing userId 1401657.1 Ops/sec
_.isEqual all changed 1147309.0 Ops/sec
JsonStableStringify identical 226891.6 Ops/sec
JsonStableStringify missing userId 254645.2 Ops/sec
JsonStableStringify all changed 223000.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEqual identical

  • _.isEqual missing userId

  • _.isEqual all changed

  • JsonStableStringify identical

  • JsonStableStringify missing userId

  • JsonStableStringify all changed