Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/21.0 Mobile/15E148 Safari/605.1.15
Mobile Safari 13
iOS 13.3
Mobile
4 years ago
Test name Executions per second
jQuery.css 596438.9 Ops/sec
getComputedStyle() 1800464.8 Ops/sec
getStyle() 1158650.1 Ops/sec
getStyle2() 2020323.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()