Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:93.0) Gecko/20100101 Firefox/93.0
Firefox 93
Mac OS X 10.14
Desktop
3 years ago
Test name Executions per second
jQuery.css 258110.8 Ops/sec
getComputedStyle() 797664.9 Ops/sec
getStyle() 538214.8 Ops/sec
getStyle2() 797975.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()