Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Chrome 77
Mac OS X 10.15.6
Desktop
4 years ago
Test name Executions per second
jQuery.css 263166.2 Ops/sec
getComputedStyle() 699933.2 Ops/sec
getStyle() 861838.6 Ops/sec
getStyle2() 754340.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()


;