temporal-tick
Advanced tools
+5
-5
| { | ||
| "name": "temporal-tick", | ||
| "author": { | ||
| "name": "Rick Waldron <waldron.rick@gmail.com>", | ||
| "name": "Rick Waldron", | ||
| "email": "waldron.rick@gmail.com" | ||
| }, | ||
| "license": "MIT", | ||
| "version": "0.2.0", | ||
| "version": "0.2.2", | ||
| "description": "High resolution process tick (maybe)", | ||
| "repository": { | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git://github.com/rwaldron/johnny-five.git" | ||
| "url": "git://github.com/rwaldron/temporal-tick.git" | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/rwaldron/johnny-five/issues" | ||
| "url": "https://github.com/rwaldron/temporal-tick/issues" | ||
| }, | ||
@@ -17,0 +17,0 @@ "dependencies": { |
+1
-10
| #include <node.h> | ||
| #include <nan.h> | ||
| #include <unistd.h> | ||
@@ -81,11 +82,1 @@ using namespace v8; | ||
| NODE_MODULE(temporal_tick, Init); | ||
| /* | ||
| https://github.com/wadey/node-microtime/blob/master/src/microtime.cc | ||
| Is there a way to improve the time windows? | ||
| - Get time at moment of call | ||
| - Use diff at usleep? | ||
| */ |
3744
-4.51%