Run details:
Mozilla/5.0 (Android 9; Mobile; rv:87.0) Gecko/87.0 Firefox/87.0
Firefox Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
Direct draw 2.5 Ops/sec
New path 831.6 Ops/sec
Cached path 1.2 Ops/sec
Direct with beginpath 1021.3 Ops/sec
Direct fillrect 1925.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect