Skip to content

Commit

Permalink
Merge pull request #185 from zhuangya/more-info-for-bench
Browse files Browse the repository at this point in the history
add: more useful info for benchmarks
  • Loading branch information
luin committed Oct 26, 2015
2 parents b8ac065 + 788d7aa commit cc26cd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benchmarks/single_node.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';

var childProcess = require('child_process');
var nodeRedis = require('redis');
var IORedis = require('../');
var ndredis, ioredis;
Expand All @@ -10,6 +11,8 @@ console.log('node_redis: ' + require('redis/package.json').version);
var os = require('os');
console.log('CPU: ' + os.cpus().length);
console.log('OS: ' + os.platform() + ' ' + os.arch());
console.log('node version: ' + process.version);
console.log('current commit: ' + childProcess.execSync('git rev-parse --short HEAD'));
console.log('==========================');

var waitReady = function (next) {
Expand Down

0 comments on commit cc26cd3

Please sign in to comment.