Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Mac OS X 10.14
Desktop
6 years ago
Test name Executions per second
Direct draw 4.4 Ops/sec
New path 3891.0 Ops/sec
Cached path 2.1 Ops/sec
Direct with beginpath 5251.0 Ops/sec
Direct fillrect 7642.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect