skylined / cwinperfcounter Goto Github PK
View Code? Open in Web Editor NEWAccess Windows performance counters from node.js
Access Windows performance counters from node.js
I'm really struggling to get anywhere trying to build this for node 5.7.0. It think its something to do with the nan dependency, has anyone has tried it?
I've tried with nan version 1.7
I had to remove the following from package.json to install nan into node_modules since installing it globally causes "Cannot read property 'target' of null" error:
"_requiredBy": [
"#USER"
],
I updated the build-targets.txt by adding the line x64 v5.7.0
I can then npm install [email protected]
and the nan folder appears in node_modules.
Building with build x64 5.7.0
then causes a whole bunch of errors which seem like version signature compatibility problems:
cwinperfcounter\node_modules\nan\nan_implementation_12_inl.h(181): error C2660: 'v8::Signature::New' : function does not take 4 arguments [C:\test\cwinperfcounter\build\cWinPerfCounter.vcxproj] cwinperfcounter\node_modules\nan\nan.h(173): error C2995: 'v8::Local<T> _NanEnsureLocal(v8::Local<T>)' : function template has already been defined [C:\test\cwinperfcounter\build\cWinPerfCounter.vcxproj]
Hi there, I'm trying to poll three perfcounter instances every 1000ms... It seems that the fnGetValue is CPU hungry... is that normal (performance counters are CPU hungry) or is there any optimization to be done? any hints?
Hi, I've tried yesterday to compile with Visual Studio 2015 and latest node 4.1.1 (its node-gyp should support 2015 build tools).
I've set msvs_version to 2015 and other modules compiles correctly.
npm config set msvs_version 2015
Here I found a couple of exceptions, do you have time to delve into it? Just as forward looking...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.