Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:100.0) Gecko/20100101 Firefox/100.0
Firefox 100
Mac OS X 10.12
Desktop
2 years ago
Test name Executions per second
jQuery.css 268039.4 Ops/sec
getComputedStyle() 810965.9 Ops/sec
getStyle() 665179.7 Ops/sec
getStyle2() 832494.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()