Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added set large

  • Loading branch information...
commit 953fa9dad3a72a9311e1d6bfd21d8e0b3a88a686 1 parent 663acd7
@tj authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 bench.js
View
7 bench.js
@@ -35,6 +35,13 @@ if ('child' == args[0]) {
db.set('foo', 'bar', fn);
};
break;
+ case 'set-large':
+ var buf = fs.readFileSync(__filename);
+ fn = function(){
+ ++ops;
+ db.set('file', buf, fn);
+ };
+ break;
case 'get':
db.set('foo', 'bar');
fn = function(){
Please sign in to comment.
Something went wrong with that request. Please try again.