r/programming • • Dec 20 '10

A Christmas Tree in 1k of Javascript

http://www.romancortes.com/blog/how-i-did-the-1kb-christmas-tree/
1.1k Upvotes

221 comments sorted by

View all comments

42

u/ImTheGuyWithTheGun Dec 20 '10 edited Dec 20 '10

Amazing how much smoother this runs in Chrome compared to Firefox. And IE8 - forget about it.

EDIT: Safari 5 seems even worse than Firefox. My system is a core-i5 w/ 6GB on Win7 - should be plenty of horsepower.

7

u/krische Dec 20 '10

It was about the same speed wise for me in Firefox 4 beta 7 and Opera 11 as it was in Chrome.

6

u/ImTheGuyWithTheGun Dec 20 '10

I'm using FF 3.6.9. I know FF 4 supposedly has a much faster JS-engine -- good to hear that it's true. But in 3.6, it runs at a fraction of the framerate compared to chrome.

1

u/pytechd Dec 20 '10

FF 4 also has hardware acceleration that helps a ton.

2

u/ascendant512 Dec 21 '10

Hardware acceleration does not affect javascript. It affects HTML5 and CSS.