Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Mac OS X 10.13
Desktop
6 years ago
Test name Executions per second
Direct draw 3.8 Ops/sec
New path 2199.3 Ops/sec
Cached path 1.8 Ops/sec
Direct with beginpath 3280.9 Ops/sec
Direct fillrect 7278.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect