Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763
Edge 18.17763
Windows
Desktop
5 years ago
Test name Executions per second
inline getElementById 1451.6 Ops/sec
fnArrowLightest 1419.3 Ops/sec
fnArrowLight 1431.8 Ops/sec
fnArrowFat 1426.7 Ops/sec
fnArrowFatter 1436.7 Ops/sec
fnExpression 1435.8 Ops/sec
fnExpressionNamed 1433.3 Ops/sec
fnDeclaration 1412.4 Ops/sec
inline getElementById (2nd time, control for test #1 , no penalty for going first) 1463.9 Ops/sec
HTML Preparation code:
Tests:
  • inline getElementById

  • fnArrowLightest

  • fnArrowLight

  • fnArrowFat

  • fnArrowFatter

  • fnExpression

  • fnExpressionNamed

  • fnDeclaration

  • inline getElementById (2nd time, control for test #1 , no penalty for going first)