Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Windows
Desktop
4 years ago
Test name Executions per second
Direct draw 2.3 Ops/sec
New path 2394.6 Ops/sec
Cached path 3.1 Ops/sec
Direct with beginpath 1824.7 Ops/sec
Direct fillrect 2275.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect