Run details:
Mozilla/5.0 (Linux; Android 12; 2201123C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Mobile Safari/537.36
Chrome Mobile 100
Android
Mobile
2 years ago
Test name Executions per second
Canvas 485428.6 Ops/sec
Offscreen 318020.4 Ops/sec
Canvas font 1716320.9 Ops/sec
Offscreen font 5779364.5 Ops/sec
Canvas textBaseline 3893285.2 Ops/sec
Offscreen textBaseline 3886112.5 Ops/sec
Canvas textAlign 4287898.0 Ops/sec
Offscreen textAlign 4288357.5 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign


;