mirror of
https://github.com/amark/gun.git
synced 2025-06-15 18:46:39 +00:00
load testing!!! 1.7K inserts/sec! Only will get more better!
This commit is contained in:
parent
9c640d2000
commit
fff3a99bb2
@ -2,8 +2,8 @@
|
|||||||
var Gun = require('../gun');
|
var Gun = require('../gun');
|
||||||
Gun.serve = require('./serve');
|
Gun.serve = require('./serve');
|
||||||
require('./s3');
|
require('./s3');
|
||||||
//require('./uws');
|
require('./uws');
|
||||||
require('./wsp/server');
|
//require('./wsp/server');
|
||||||
require('./file');
|
require('./file');
|
||||||
module.exports = Gun;
|
module.exports = Gun;
|
||||||
}());
|
}());
|
@ -50,7 +50,6 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"aws-sdk": "~>2.15.0",
|
"aws-sdk": "~>2.15.0",
|
||||||
"formidable": "~>1.0.15",
|
"formidable": "~>1.0.15",
|
||||||
"ws": "~>2.1.0",
|
|
||||||
"uws": "~>0.13.0"
|
"uws": "~>0.13.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -3,7 +3,16 @@ var root;
|
|||||||
root = env.window? env.window : global;
|
root = env.window? env.window : global;
|
||||||
env.window && root.localStorage && root.localStorage.clear();
|
env.window && root.localStorage && root.localStorage.clear();
|
||||||
//root.Gun = root.Gun || require('../gun');
|
//root.Gun = root.Gun || require('../gun');
|
||||||
root.Gun = root.Gun || require('../index');
|
if(root.Gun){
|
||||||
|
root.Gun = root.Gun;
|
||||||
|
} else {
|
||||||
|
root.Gun = require('../gun');
|
||||||
|
Gun.serve = require('./serve');
|
||||||
|
//require('./s3');
|
||||||
|
//require('./uws');
|
||||||
|
//require('./wsp/server');
|
||||||
|
require('./file');
|
||||||
|
}
|
||||||
}(this));
|
}(this));
|
||||||
//Gun.log.squelch = true;
|
//Gun.log.squelch = true;
|
||||||
var gleak = {globals: {}, check: function(){ // via tobyho
|
var gleak = {globals: {}, check: function(){ // via tobyho
|
||||||
|
Loading…
x
Reference in New Issue
Block a user