Doc: point to the correct performance test url.

This commit is contained in:
Jonathan Puckey 2011-02-28 18:41:46 +01:00
parent eee5e63a72
commit 1261dc03df

View file

@ -39,7 +39,7 @@ Doc = Base.extend({
if (this.canvas) {
// Initial tests conclude that clearing the canvas using clearRect
// is always faster than setting canvas.width = canvas.width
// http://jsperf.com/clearrect-vs-setting-width/
// http://jsperf.com/clearrect-vs-setting-width/7
var view = this.activeView;
var bounds = view.bounds;
this.ctx.clearRect(0, 0, this.size.width + 1, this.size.height + 1);