Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Chrome 75
Mac OS X 10.14.5
Desktop
5 years ago
Test name Executions per second
_.isEqual object 502402.9 Ops/sec
JSON.stringify object 424276.2 Ops/sec
_.isEqual string 3057790.2 Ops/sec
JS string 4766855.0 Ops/sec
_.isEqual bool 3071411.0 Ops/sec
JS bool 4771014.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEqual object

  • JSON.stringify object

  • _.isEqual string

  • JS string

  • _.isEqual bool

  • JS bool


;