Run details:
Mozilla/5.0 (X11; Linux aarch64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Linux
Desktop
4 years ago
Test name Executions per second
Stroke Path2d(); 11366.1 Ops/sec
drawImage(svg); 585.3 Ops/sec
drawImage(svg); with all parameters 629.0 Ops/sec
drawImage(svg); with some parameters 632.3 Ops/sec
Multi stroke Path2d(); 11328.2 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();


;