Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 3a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
function declaration 436.5 Ops/sec
function expression 430.9 Ops/sec
class 246.7 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class