Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Linux
Desktop
10 months ago
Test name Executions per second
Direct draw 5.7 Ops/sec
New path 7991.1 Ops/sec
Cached path 2.8 Ops/sec
Direct with beginpath 9534.5 Ops/sec
Direct fillrect 14746.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect