sequelize-benchmark
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -10,3 +10,4 @@ 'use strict'; | ||
const LARGE_SAMPLE_SIZE = 1500, SMALL_SAMPLE_SIZE = 10; | ||
const LARGE_SAMPLE_SIZE = process.env.LARGE_SAMPLE_SIZE || 1500 | ||
, SMALL_SAMPLE_SIZE = process.env.SMALL_SAMPLE_SIZE || 10; | ||
@@ -13,0 +14,0 @@ /** |
@@ -61,3 +61,6 @@ 'use strict'; | ||
return require('./benchmarks/findAll.js')(models, sequelize); | ||
}).catch(Utils.log); | ||
}).then(() => { | ||
return require('./benchmarks/bulkCreate.js')(models, sequelize); | ||
}) | ||
.catch(Utils.log); | ||
}; |
{ | ||
"name": "sequelize-benchmark", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "benchmark for sequelize orm", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,3 +13,3 @@ ## Sequelize Benchmark | ||
```bash | ||
``` | ||
@@ -23,2 +23,4 @@ `SEQ_USER`, Username for database | ||
`DIALECT`, Dialect to use , `mysql` default | ||
`LARGE_SAMPLE_SIZE`, Sample size for large tests | ||
`SMALL_SAMPLE_SIZE`, Sample size for small tests | ||
@@ -25,0 +27,0 @@ ``` |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances 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
16376
12
418
51
15