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 221069504.0 Ops/sec
Checking with === when set 210715024.0 Ops/sec
Checking with > 0 when not set 224648592.0 Ops/sec
Checking with === when not set 207090784.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