diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-05-22 11:32:54 -0700 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-05-22 20:13:14 -0700 |
commit | f8193ab3c46475486eab38543650e2388bd3aedc (patch) | |
tree | 340e802e74b622c800254761352d3c91c028b74f /node.gyp | |
parent | f58eb8f5dbe5e530f1e37fc6978fdf853be81706 (diff) | |
download | nodejs-f8193ab3c46475486eab38543650e2388bd3aedc.tar.gz nodejs-f8193ab3c46475486eab38543650e2388bd3aedc.tar.bz2 nodejs-f8193ab3c46475486eab38543650e2388bd3aedc.zip |
timers: use uv_now instead of Date.now
This saves a few calls to gettimeofday which can be expensive, and
potentially subject to clock drift. Instead use the loop time which
uses hrtime internally.
fixes #5497
Diffstat (limited to 'node.gyp')
0 files changed, 0 insertions, 0 deletions