In this page that counts the number of frames rendered and prints the FPS onto the canvas, we can see that it tops out at 100fps, which seems suspicious at the least. Why is this?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Canvas FPS artificial limiting</title>
</head>
<body>
<canvas id="c" width="320" height="240"></canvas>
<script>
var c = document.getElementById('c').getContext('2d'),
f = 0,
s = new Date;
setInterval(function() {
c.clearRect(0, 0, 320, 240);
c.fillText(++f / ( ((+new Date) - s) / 1000 ), 8, 16);
}, 0);
</script>
</body>
</html>
I'm currently having this problem on Firefox 4.0b6 and Ubuntu 10.10 beta.