Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.61
Chrome 118
Windows
Desktop
one year ago
Test name Executions per second
jQuery.css 483344.8 Ops/sec
getComputedStyle() 867029.1 Ops/sec
getStyle() 1552729.9 Ops/sec
getStyle2() 910377.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()


;