Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0
Firefox 90
Ubuntu
Desktop
3 years ago
Test name Executions per second
_.isEqual num true 2786448.5 Ops/sec
=== num true 2916280.0 Ops/sec
_.isEqual num false 2771022.2 Ops/sec
=== num false 3018661.5 Ops/sec
_.isEqual string true 2721130.0 Ops/sec
=== string true 778006336.0 Ops/sec
_.isEqual string false 2642748.8 Ops/sec
=== string false 737863296.0 Ops/sec
== num true 778812160.0 Ops/sec
== num false 828173824.0 Ops/sec
== string true 743880000.0 Ops/sec
== string false 755699008.0 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