mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
undo temporary test
This commit is contained in:
parent
5bf425d2c4
commit
105d81f7a6
@ -57,13 +57,8 @@ Gun.on('opt', function(root){
|
||||
}
|
||||
console.STAT && console.STAT(S, +new Date - S, 'stats');
|
||||
S = +new Date;
|
||||
//fs.writeFile(__dirname+'/../stats.'+root.opt.file, JSON.stringify(stats, null, 2), function(err){ console.STAT && console.STAT(S, +new Date - S, 'stats stash') });
|
||||
// TEMPORARY TEST TO SEE HOW SLOW/FAST FS IS!!!
|
||||
fs.writeFileSync(__dirname+'/../stats.'+root.opt.file, JSON.stringify(stats, null, 2));
|
||||
console.log("[[[[[[[[[[", +new Date - S, "]]]]]]]]]]");
|
||||
// TEMPORARY TEST TO SEE HOW SLOW/FAST FS IS!!!
|
||||
console.STAT && console.STAT(S, +new Date - S, 'stats stash');
|
||||
stats.over = +new Date;
|
||||
fs.writeFile(__dirname+'/../stats.'+root.opt.file, JSON.stringify(stats, null, 2), function(err){ console.STAT && console.STAT(S, +new Date - S, 'stats stash') });
|
||||
stats.over = S;
|
||||
stats.gap = {};
|
||||
}, 1000 * 15);
|
||||
Object.keys = Object.keys || function(o){ return Gun.obj.map(o, function(v,k,t){t(k)}) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user