Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Mac OS X 10.15.7
Desktop
9 months ago
Test name Executions per second
Normal function (non-strict) 3739244.0 Ops/sec
Normal function (strict) 3747291.2 Ops/sec
Arrow function (non-strict) 3743770.0 Ops/sec
Arrow function (strict) 3745346.5 Ops/sec
Dynamic function (non-strict) 4582154.5 Ops/sec
Dynamic function (strict) 4581564.0 Ops/sec
Script Preparation code:
Tests:
  • Normal function (non-strict)

  • Normal function (strict)

  • Arrow function (non-strict)

  • Arrow function (strict)

  • Dynamic function (non-strict)

  • Dynamic function (strict)


;