Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Firefox 69
Windows
Desktop
5 years ago
Test name Executions per second
inline getElementById 1912.9 Ops/sec
fnArrowLightest 3511.7 Ops/sec
fnArrowLight 3164.7 Ops/sec
fnArrowFat 3464.4 Ops/sec
fnArrowFatter 3422.9 Ops/sec
fnExpression 3484.6 Ops/sec
fnExpressionNamed 3494.2 Ops/sec
fnDeclaration 3469.9 Ops/sec
inline getElementById (2nd time, control for test #1 , no penalty for going first) 1875.3 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)