Improve canvas perf test accuracy.