joyent/node — pull request #3684 by shigeki (2012-07-10 19:10:33+00:00)
Title: timer: change new Date to Date.now for performance

Date.now() is much faster than (new Date()).getTime() as http://jsperf.com/native-date-now-vs-new-date-gettime.

Benchmark results are
before(current master):
````
> ./node benchmark/settimeout.js
wait...
smaller is better
startup: 46550
done: 29490
````
after(this commit):
````
> ./node benchmark/settimeout.js
wait...
smaller is better
startup: 11661
done: 7371
````