Run details:
Mozilla/5.0 (Linux; Android 7.1.1; ONEPLUS A3003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36
Chrome Mobile 71
Android 7.1.1
Mobile
5 years ago
Test name Executions per second
Anonymous function 12.1 Ops/sec
Named function as parameter 5.7 Ops/sec
External function 5.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Anonymous function

  • Named function as parameter

  • External function