Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
Chrome 84
Linux
Desktop
4 years ago
Test name Executions per second
jQuery.css 248032.4 Ops/sec
getComputedStyle() 691385.5 Ops/sec
getStyle() 826682.2 Ops/sec
getStyle2() 726162.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()


;