Which equals operator (== vs ===) is faster?

Is there a performance benefit to replacing == with ===?
2 years ago
User agent: Mozilla/5.0 (iPhone; CPU iPhone OS 15_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 LightSpeed [FBAN/MessengerLiteForiOS;FBAV/342.2.0.44.109;FBBV/339612019;FBDV/iPhone12,1;FBMD/iPhone;FBSN/iOS;FBSV/15.4;FBSS/2;FBCR/;FBID/phone;FBLC/da;FBOP/0]
Test name Executions per second
test equality 26472.2 Ops/sec
test strict equality 26537.5 Ops/sec
Tests:
  • test equality

  • test strict equality

Open this result on MeasureThat.net