Run details:
Mozilla/5.0 (Linux; Android 4.4.2; CHC-U01) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36
Chrome Mobile 74
Android 4.4.2
Mobile
5 years ago
Test name Executions per second
Anonymous function 6.5 Ops/sec
Named function as parameter 2.8 Ops/sec
External function 2.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Anonymous function

  • Named function as parameter

  • External function