Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
jQuery.css 665937.6 Ops/sec
getComputedStyle() 1427245.4 Ops/sec
getStyle() 1192758.2 Ops/sec
getStyle2() 1480360.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()