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
5 years ago
Test name Executions per second
jQuery.css 691812.3 Ops/sec
getComputedStyle() 1751432.4 Ops/sec
getStyle() 1145387.4 Ops/sec
getStyle2() 1998143.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()