EDIT:
this answer doesn’t work on new chrome versions see:
chrome canvas inspector 2015
In Chrome Canary:
- in your browser, enter this url
chrome://flags/
- enable Enable Developer Tools experiments
- relaunch Chrome
- in the developer tools, click the
gear
to bring up developer preferences - select experiments from the menu
- select Canvas Inspections
- close devtools, refresh the page, reopen devtools
The full guide on the canvas profiler:
http://www.html5rocks.com/en/tutorials/canvas/inspection/
Animated gif showing it in action:
https://twitter.com/umaar/status/480705624448045057