Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Windows
Desktop
one year ago
Test name Executions per second
Optional chaining, not null 467308928.0 Ops/sec
Explicit null check, not null 746606272.0 Ops/sec
Optional chaining, null 743582656.0 Ops/sec
Explicit null check, null 1035887232.0 Ops/sec
Script Preparation code:
Tests:
  • Optional chaining, not null

  • Explicit null check, not null

  • Optional chaining, null

  • Explicit null check, null


;