Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3964.0 Safari/537.36
Chrome 80
Windows
Desktop
5 years ago
Test name Executions per second
inline getElementById 1384.0 Ops/sec
fnArrowLightest 1844.5 Ops/sec
fnArrowLight 1828.4 Ops/sec
fnArrowFat 1839.0 Ops/sec
fnArrowFatter 1805.3 Ops/sec
fnExpression 1849.3 Ops/sec
fnExpressionNamed 1841.6 Ops/sec
fnDeclaration 1569.2 Ops/sec
inline getElementById (2nd time, control for test #1 , no penalty for going first) 1393.8 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)


;