Prematurely Optimize Some Unimportant Code
Prematurely Optimize Some Unimportant Code

Actually, I was curious how expensive the creation of a Date really is.
I've run into some performance problems because of this once.

http://jsperf.com/test-if-date-or-create-new
killercup/atric