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 507387.6 Ops/sec
JSON.stringify object 427185.8 Ops/sec
_.isEqual string 3069247.0 Ops/sec
JS string 4742398.5 Ops/sec
_.isEqual bool 3067776.2 Ops/sec
JS bool 4762931.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEqual object

  • JSON.stringify object

  • _.isEqual string

  • JS string

  • _.isEqual bool

  • JS bool


;