SunilWang / node-os-utils

OS Utils - An operating system utility library.
https://www.npmjs.com/package/node-os-utils
MIT License
125 stars 19 forks source link

1.2.3 #11

Closed cyrussalem closed 4 years ago

cyrussalem commented 4 years ago
cyrussalem commented 4 years ago

may be a server performance problem?

We are running this on an embedded linux device. This steps takes around 500ms. With this change we brought it down to a few milliseconds.

SunilWang commented 4 years ago

Your idea has been adopted. But your code has compatibility issues and is not used.

My commit Info(Current commit is incompatible Node.js 6.x , node-os-utils@1.2.3) : https://github.com/SunilWang/node-os-utils/commit/272c333d564af47a39db6403d5125fea09cb51ed

Compatible Node.js 6.x commit info (node-os-utils@1.2.4): https://github.com/SunilWang/node-os-utils/commit/d1be70c967df0274726a1a9e1df04efb6a06d3b7


to see: https://www.npmjs.com/package/node-os-utils

$ npm install node-os-utils@1.2.4

Thanks for your advice,