Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0
Firefox 101
Windows 8.1
Desktop
2 years ago
Test name Executions per second
jQuery.css 279227.2 Ops/sec
getComputedStyle() 657386.5 Ops/sec
getStyle() 623220.8 Ops/sec
getStyle2() 658476.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()