sequelize-benchmark
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -81,4 +81,5 @@ 'use strict'; | ||
Utils.log('Benchmark finished'); | ||
return sequelize.close(); | ||
}) | ||
.catch(Utils.log); | ||
}; |
{ | ||
"name": "sequelize-benchmark", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "benchmark for sequelize orm", | ||
@@ -33,8 +33,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"benchmark": "^2.1.2", | ||
"debug": "^2.4.5", | ||
"benchmark": "^2.1.4", | ||
"debug": "^3.1.0", | ||
"lodash.defaults": "^4.2.0", | ||
"lodash.samplesize": "^4.2.0", | ||
"microtime": "^2.1.2" | ||
"microtime": "^2.1.3" | ||
} | ||
} |
@@ -20,2 +20,3 @@ ## Sequelize Benchmark | ||
`SEQ_HOST`, Host addresss | ||
`SEQ_PORT`, Host port | ||
`SEQ_POOL_MAX`, Maximum concurrent connection | ||
@@ -67,1 +68,14 @@ `SEQ_POOL_MIN`, Minimum concurrent connection | ||
``` | ||
## Troubleshooting | ||
### ECONNRESET when running mysql benchmark | ||
In case you get ECONNRESET error when starting benchmark, try to increase `max_package_size` of your mysql server. | ||
You can do this with query (it will work till reboot): | ||
``` | ||
SET GLOBAL max_allowed_packet=1073741824; | ||
``` | ||
or by editing mysql configuration. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20050
521
80
+ Addeddebug@3.2.7(transitive)
+ Addedms@2.1.3(transitive)
- Removeddebug@2.6.9(transitive)
- Removedms@2.0.0(transitive)
Updatedbenchmark@^2.1.4
Updateddebug@^3.1.0
Updatedmicrotime@^2.1.3