Sequelize Benchmark
Benchmark which is used to record sequelize performance trends.
Config
It support all possible sequelize
environment configuration. Following ENV
varibales are available generally
`SEQ_USER`, Username for database
`SEQ_PW`, Password for database
`SEQ_DB`, Database name
`SEQ_HOST`, Host addresss
`SEQ_POOL_MAX`, Maximum concurrent connection
`SEQ_POOL_MIN`, Minimum concurrent connection
`DIALECT`, Dialect to use , `mysql` default
Usage
TLDR;
cd /path/to/sequelize
npm link
cd /path/to/sequelize-benchmark
npm link sequelize
npm run <test-mysql | test-pg | test-sqlite | test-pg-native | test-mssql>
STEPS
Open your local sequelize
development path
cd /path/to/sequelize
Link current repo with sequelize
symlink
npm link
Clone the repository via
git clone https://github.com/sushantdhiman/sequelize-benchmark
Open the sequelize-benchmark
path
cd /path/to/sequelize-benchmark
Install required node modules
npm install
Now use the sequelize
from your local path
npm link sequelize
Run benchmark
npm run <test-mysql | test-pg | test-sqlite | test-pg-native | test-mssql>