Run details:
Mozilla/5.0 (Linux; Android 10; CDY-NX9A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
3 years ago
Test name Executions per second
function declaration 516.1 Ops/sec
function expression 533.1 Ops/sec
class 332.0 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class