Run details:
Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Chrome 83
Linux
Desktop
4 years ago
Test name Executions per second
Stroke Path2d(); 124714.0 Ops/sec
drawImage(svg); 4311.2 Ops/sec
drawImage(svg); with all parameters 4474.4 Ops/sec
drawImage(svg); with some parameters 4285.5 Ops/sec
Multi stroke Path2d(); 65699.7 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();


;