You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Contributed changes:
* Support SlowBuffers (Umair Siddique) * Add Multi to exports (Louis-Philippe Perron) * Fix for drain event calculation (Vladimir Dronnikov) Thanks!
This commit is contained in:
10
changelog.md
10
changelog.md
@@ -1,6 +1,16 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
## v0.6.5 - July 6, 2011
|
||||
|
||||
Contributed changes:
|
||||
|
||||
* Support SlowBuffers (Umair Siddique)
|
||||
* Add Multi to exports (Louis-Philippe Perron)
|
||||
* Fix for drain event calculation (Vladimir Dronnikov)
|
||||
|
||||
Thanks!
|
||||
|
||||
## v0.6.4 - June 30, 2011
|
||||
|
||||
Fix bug with optional callbacks for hmset.
|
||||
|
@@ -3,7 +3,7 @@ var redis = require("../index"),
|
||||
command_queue_high_water: 5,
|
||||
command_queue_low_water: 1
|
||||
}),
|
||||
remaining_ops = 10000, paused = false;
|
||||
remaining_ops = 100000, paused = false;
|
||||
|
||||
function op() {
|
||||
if (remaining_ops <= 0) {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{ "name" : "redis",
|
||||
"version" : "0.6.4",
|
||||
"version" : "0.6.5",
|
||||
"description" : "Redis client library",
|
||||
"author": "Matt Ranney <mjr@ranney.com>",
|
||||
"contributors": [
|
||||
|
@@ -5,6 +5,37 @@ for (i = 99 ; i >= 0 ; i--) {
|
||||
source[i] = 120;
|
||||
}
|
||||
|
||||
var str = "This is a nice String.",
|
||||
buf = new Buffer("This is a lovely Buffer.");
|
||||
|
||||
var start = new Date();
|
||||
for (i = count * 100; i > 0 ; i--) {
|
||||
if (Buffer.isBuffer(str)) {}
|
||||
}
|
||||
var end = new Date();
|
||||
console.log("Buffer.isBuffer(str) " + (end - start) + " ms");
|
||||
|
||||
var start = new Date();
|
||||
for (i = count * 100; i > 0 ; i--) {
|
||||
if (Buffer.isBuffer(buf)) {}
|
||||
}
|
||||
var end = new Date();
|
||||
console.log("Buffer.isBuffer(buf) " + (end - start) + " ms");
|
||||
|
||||
var start = new Date();
|
||||
for (i = count * 100; i > 0 ; i--) {
|
||||
if (str instanceof Buffer) {}
|
||||
}
|
||||
var end = new Date();
|
||||
console.log("str instanceof Buffer " + (end - start) + " ms");
|
||||
|
||||
var start = new Date();
|
||||
for (i = count * 100; i > 0 ; i--) {
|
||||
if (buf instanceof Buffer) {}
|
||||
}
|
||||
var end = new Date();
|
||||
console.log("buf instanceof Buffer " + (end - start) + " ms");
|
||||
|
||||
for (i = bytes ; i > 0 ; i --) {
|
||||
var start = new Date();
|
||||
for (j = count ; j > 0; j--) {
|
||||
|
Reference in New Issue
Block a user