Run details:
Mozilla/5.0 (Linux; Android 11; M2003J15SC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
3 years ago
Test name Executions per second
function declaration 415.6 Ops/sec
function expression 404.4 Ops/sec
class 255.2 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class