Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Linux
Desktop
4 years ago
Test name Executions per second
Direct draw 5.6 Ops/sec
New path 2534.7 Ops/sec
Cached path 3.0 Ops/sec
Direct with beginpath 3071.3 Ops/sec
Direct fillrect 5091.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect