Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Windows 7
Desktop
4 years ago
Test name Executions per second
jQuery.css 89608.7 Ops/sec
getComputedStyle() 234435.9 Ops/sec
getStyle() 256932.7 Ops/sec
getStyle2() 200428.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()