Run details:
Mozilla/5.0 (Linux; Android 5.0.1; SHV-E330K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Mobile Safari/537.36
Chrome Mobile 76
Android 5.0.1
Mobile
4 years ago
Test name Executions per second
Anonymous function 9.3 Ops/sec
Named function as parameter 4.5 Ops/sec
External function 4.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Anonymous function

  • Named function as parameter

  • External function