Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Windows
Desktop
9 months ago
Test name Executions per second
Normal function (non-strict) 3885851.8 Ops/sec
Normal function (strict) 3897555.2 Ops/sec
Arrow function (non-strict) 3897006.5 Ops/sec
Arrow function (strict) 3895508.8 Ops/sec
Dynamic function (non-strict) 5167061.0 Ops/sec
Dynamic function (strict) 5178230.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)


;