Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.66 Safari/537.36 OPR/89.0.4447.38
Opera 89
Linux
Desktop
one year ago
Test name Executions per second
jQuery.css 97107.6 Ops/sec
getComputedStyle() 210584.0 Ops/sec
getStyle() 413630.9 Ops/sec
getStyle2() 225502.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()