Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135
Windows
Desktop
one year ago
Test name Executions per second
Checking with > 0 when set 207094656.0 Ops/sec
Checking with === when set 212393808.0 Ops/sec
Checking with > 0 when not set 234380336.0 Ops/sec
Checking with === when not set 219230192.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Checking with > 0 when set

  • Checking with === when set

  • Checking with > 0 when not set

  • Checking with === when not set