All examples By author By category About

stepheneb

Canvas Path Benchmark

Canvas Path Benchmark

This example benchmarks the time taken to draw a line consisting of 10000 separate segments into an HTML5 Canvas.

On Chrome and Safari the SVG in 2012 the Canvas results were about 20x faster than those measured by the equivalent SVG Path Benchmark. On Firefox, Opera, and IE9 the results are similar.

Google Spreadsheet with results: Canvas/SVG Path Benchmarks

source: gist.github.com/gists/1297383