node-frequent-time

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i node-frequent-time

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • taku