Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Windows
Desktop
one year ago
Test name Executions per second
Optional chaining 1747514.8 Ops/sec
Manual chaining 1675821.9 Ops/sec
Loop chaining 4619.0 Ops/sec
Try/Catch 77.6 Ops/sec
Tests:
  • Optional chaining

  • Manual chaining

  • Loop chaining

  • Try/Catch