Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Chrome 73
Mac OS X 10.13.5
Desktop
5 years ago
Test name Executions per second
jQuery.css 213177.5 Ops/sec
getComputedStyle() 632179.0 Ops/sec
getStyle() 731156.4 Ops/sec
getStyle2() 642962.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()


;