Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Linux
Desktop
one year ago
Test name Executions per second
Native Optional Chain 18391594.0 Ops/sec
ES5 Optional Chain 4096423.5 Ops/sec
Direct Access 17349988.0 Ops/sec
Script Preparation code:
Tests:
  • Native Optional Chain

  • ES5 Optional Chain

  • Direct Access