Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
4 months ago
Test name Executions per second
instanceof 116414024.0 Ops/sec
string type 1172807296.0 Ops/sec
string type + undefined 1071413568.0 Ops/sec
property 1118489344.0 Ops/sec
constructor comparison 1084136064.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property

  • constructor comparison


;