UPDATE: Nodetime agent ships now with precompiled versions of native extention, which will be used as a fallback if compilation fails. For Node version since 0.8 you can ignore the compilation errors as well as the instructions below.
Nodetime relies on timekit module to measure times in microsecond precision, record CPU time and enable CPU profiling feature. Without timekit module, which is an optional dependency for Nodetime, these data / features would not be available, but the rest remains unaffected.
Until now timekit was only supporting POSIX systems. Starting version 0.1.8 (nodetime version is unchanged) timekit can also be installed and used on Windows.
Here is how I did a full install of Node.js and Nodetime on Windows Server 2008 R2 64-bit:
- downloaded and installed node's .msi package from nodejs.org
- downloaded and installed Python from python.org
- installed Visual C++ 2010 Express
cd myproject, where my server.js script resides- installed Nodetime with
npm install nodetime - added
require('nodetime').profile()to the top of my server.js - started server with
node server.js
UPDATE: For 64 builds of Node, Windows 7 64-bit SDK is needed as well.

Comments