Run details:
Mozilla/5.0 (Linux; Android 10; JSN-L22) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.59 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
function declaration 384.4 Ops/sec
function expression 386.8 Ops/sec
class 229.5 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class