Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Firefox 70
Fedora
Desktop
5 years ago
Test name Executions per second
jQuery.css 336124.6 Ops/sec
getComputedStyle() 724556.2 Ops/sec
getStyle() 855370.4 Ops/sec
getStyle2() 684678.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()