load testing!!! 1.7K inserts/sec! Only will get more better!

This commit is contained in:
Mark Nadal 2017-03-11 07:15:29 -08:00
parent 33a0cf5629
commit c64f827f9d

View File

@ -3543,9 +3543,9 @@ describe('Gun', function(){
var gunB = Gun( { file : "B.json" });
var gunC = Gun( { file : "C.json" });
gunA.get( "some path A" ).map( (v,f)=>{ console.log( "event on A: ", f, v ) } );
gunB.get( "some path B" ).map( (v,f)=>{ console.log( "event on B: ", f, v ) } );
gunC.get( "some path C" ).map( (v,f)=>{ console.log( "event on C: ", f, v ) } );
gunA.get( "some path A" ).map(function(v,f){ console.log( "event on A: ", f, v ) } );
gunB.get( "some path B" ).map(function(v,f){ console.log( "event on B: ", f, v ) } );
gunC.get( "some path C" ).map(function(v,f){ console.log( "event on C: ", f, v ) } );
gunA.get( "some path A" ).put( { simple:"message" } );
gunB.get( "some path B" ).put( { simple:"message" } );