Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 YaBrowser/24.7.0.0 Safari/537.36
Yandex Browser 24
Linux
Desktop
one month ago
Test name Executions per second
instanceof 15758204.0 Ops/sec
string type 40485084.0 Ops/sec
string type + undefined 15220150.0 Ops/sec
property 14514805.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property