Run details:
Mozilla/5.0 (Linux; Android 10; SM-A600FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36 OPR/67.1.3508.63168
Opera Mobile 67
Android
Mobile
2 years ago
Test name Executions per second
function declaration 130.0 Ops/sec
function expression 136.5 Ops/sec
class 82.7 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class