Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:76.0) Gecko/20100101 Firefox/76.0
Firefox 76
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
Stroke Path2d(); 30371.9 Ops/sec
drawImage(svg); 6037.6 Ops/sec
drawImage(svg); with all parameters 6305.8 Ops/sec
drawImage(svg); with some parameters 6372.1 Ops/sec
Multi stroke Path2d(); 29471.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Stroke Path2d();

  • drawImage(svg);

  • drawImage(svg); with all parameters

  • drawImage(svg); with some parameters

  • Multi stroke Path2d();


;