1.0.2 • Published 8 years ago

node-frequent-time v1.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

node-frequent-time

Getting current time in high traffic

Purpose

Calling

new Date()

all the time can put some load on the cpu especially in high traffic. This module reduces the load by caching the current time.

Warning

Make sure to call

globa.gc();

every now and then to prevent memory leak.

Install

npm install node-frequent-time