Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Windows
Desktop
3 years ago
Test name Executions per second
jQuery CSS function 198521.9 Ops/sec
jQuery height function 133391.7 Ops/sec
jquery inline styling 10531497.0 Ops/sec
native inline styling 14271108.0 Ops/sec
Native offsetHeight (IE8+) 7505579.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+)


;