Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:80.0) Gecko/20100101 Firefox/80.0
Firefox 80
Mac OS X 10.13
Desktop
4 years ago
Test name Executions per second
jQuery.css 77200.6 Ops/sec
getComputedStyle() 217794.5 Ops/sec
getStyle() 195946.5 Ops/sec
getStyle2() 266050.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()