Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
jQuery.css 391459.6 Ops/sec
getComputedStyle() 804637.2 Ops/sec
getStyle() 742365.1 Ops/sec
getStyle2() 889064.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()