Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.83 Safari/537.36
Chrome 93
Linux
Desktop
3 years ago
Test name Executions per second
Optional chaining 643995.0 Ops/sec
Manual chaining 647649.5 Ops/sec
Loop chaining 1777.7 Ops/sec
Try/Catch 35.2 Ops/sec
Tests:
  • Optional chaining

  • Manual chaining

  • Loop chaining

  • Try/Catch