Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Chrome 90
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Canvas 456542.6 Ops/sec
Offscreen 497211.4 Ops/sec
Canvas font 2166732.2 Ops/sec
Offscreen font 7571546.0 Ops/sec
Canvas textBaseline 5798978.0 Ops/sec
Offscreen textBaseline 6080934.0 Ops/sec
Canvas textAlign 6663511.5 Ops/sec
Offscreen textAlign 6690207.0 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign


;