Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Firefox 62
Ubuntu
Desktop
6 years ago
Test name Executions per second
jQuery.css 310359.1 Ops/sec
getComputedStyle() 656082.9 Ops/sec
getStyle() 662819.4 Ops/sec
getStyle2() 650113.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()


;