Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Chrome 54
Windows 7
Other
7 years ago
Test name Executions per second
jQuery width 584.1 Ops/sec
jQuery height 789.1 Ops/sec
text-metrics width 10098.5 Ops/sec
text-metrics height 2157.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery width

  • jQuery height

  • text-metrics width

  • text-metrics height