Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Mac OS X 10.15
Desktop
5 months ago
Test name Executions per second
named function passed as reference 29227.3 Ops/sec
multiple named functions instances 36239.2 Ops/sec
named arrow function refrence 29029.1 Ops/sec
multiple anonymous functions instances 195457.8 Ops/sec
Class named function on prototype 10492.0 Ops/sec
Class arrow function on prototype 12370.8 Ops/sec
Tests:
  • named function passed as reference

  • multiple named functions instances

  • named arrow function refrence

  • multiple anonymous functions instances

  • Class named function on prototype

  • Class arrow function on prototype