Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Firefox 70
Windows 7
Desktop
5 years ago
Test name Executions per second
jQuery.css 100548.3 Ops/sec
getComputedStyle() 266038.8 Ops/sec
getStyle() 301122.8 Ops/sec
getStyle2() 268091.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()