Run details:
Mozilla/5.0 (Linux; Android 11; EB2103) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
function declaration 776.4 Ops/sec
function expression 765.4 Ops/sec
class 537.9 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class