Tests:
-
jQuery CSS function
-
jQuery height function
-
jquery inline styling
-
native inline styling
-
Native offsetHeight (IE8+)
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138 on Windows
View result in a separate tab
native inline styling
23.8M/s
jquery inline styling
23.5M/s
Native offsetHeight (IE8+)
1.9M/s
jQuery CSS function
343K/s
jQuery height function
283K/s
View exact numbers
| Test name |
Executions per second |
|
✓
native inline styling
|
23,769,052 Ops/sec |
|
jquery inline styling
|
23,540,418 Ops/sec |
|
Native offsetHeight (IE8+)
|
1,889,654 Ops/sec |
|
jQuery CSS function
|
343,094 Ops/sec |
|
jQuery height function
|
283,272 Ops/sec |
Do you really want to delete benchmark?