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

1

u/causticmango Dec 21 '10

Sweet.

Odd observation; it's a little jerky on Chrome on OS X, Safari much smoother. Though, Chrome is generally faster with JS -- what gives? Both seem to use the same CPU, so it doesn't seem like Chrome is brute forcing some rendering that Safari is off-loading.

Then again, Chrome is 32 bit and Safari is 64 ... guess that's the diff?

1

u/[deleted] Dec 21 '10

It appears identical to me on OS X in Chrome and Safari, so I don't know. What's your CPU speed? It takes a core to 100% in either browser, so perhaps that 100% is not enough for Chrome on your system but it is for Safari. Hmm. I have a 2.53 ghz i5.