It's hard to tell since there isn't always 100% parity between the two examples (look at the difference between the Javascript Asteroids and the line-based Flash one!), but performance seems to be about equal in most cases, adjusting for the one that looks simpler usually using a bit less.