Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
Firefox 98
Windows
Desktop
2 years ago
Test name Executions per second
jQuery CSS function 242761.0 Ops/sec
jQuery height function 162592.8 Ops/sec
jquery inline styling 13483801.0 Ops/sec
native inline styling 15644497.0 Ops/sec
Native offsetHeight (IE8+) 10113279.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery CSS function

  • jQuery height function

  • jquery inline styling

  • native inline styling

  • Native offsetHeight (IE8+)


;