Run details:
Mozilla/5.0 (Linux; Android 10; CDY-NX9A; HMSCore 6.6.0.352) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.1.1.324 Mobile Safari/537.36
Chrome 92
Android
Mobile
2 years ago
Test name Executions per second
function declaration 668.9 Ops/sec
function expression 715.8 Ops/sec
class 342.1 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class