Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SM-G610F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36
Chrome Mobile 87
Android 6.0.1
Mobile
3 years ago
Test name Executions per second
Anonymous function 9.1 Ops/sec
Named function as parameter 3.5 Ops/sec
External function 3.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Anonymous function

  • Named function as parameter

  • External function