Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36
Chrome 96
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
_.isEqual num true 2221525.0 Ops/sec
=== num true 3194199.0 Ops/sec
_.isEqual num false 2237423.2 Ops/sec
=== num false 3093780.2 Ops/sec
_.isEqual string true 2184088.5 Ops/sec
=== string true 3661430.8 Ops/sec
_.isEqual string false 2100744.0 Ops/sec
=== string false 3651289.8 Ops/sec
== num true 4028358.5 Ops/sec
== num false 3846921.0 Ops/sec
== string true 3719473.8 Ops/sec
== string false 3606914.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.isEqual num true

  • === num true

  • _.isEqual num false

  • === num false

  • _.isEqual string true

  • === string true

  • _.isEqual string false

  • === string false

  • == num true

  • == num false

  • == string true

  • == string false