tachybase_todo/benchmark/README.md
chenos 3b02c6e6e1
feat: framework benchmark (#2915)
* feat: framework benchmark

* feat: add readme doc

* feat: koa-resourcer

* fix: doc

* fix: wrk

* feat: actions
2023-10-27 10:00:49 +08:00

743 B

koa-database

yarn pm2 start benchmark/koa-database/index.js --name koa-database
wrk -t20 -c20 -d20s http://localhost:13010/

koa-sequelize

yarn pm2 start benchmark/koa-sequelize/index.js --name koa-sequelize
wrk -t20 -c20 -d20s http://localhost:13020/

nocobase-server

yarn pm2 start benchmark/nocobase-server/index.js --name nocobase-server
wrk -t20 -c20 -d20s http://localhost:13030/api/users

koa-resourcer

yarn pm2 start benchmark/koa-resourcer/index.js --name koa-resourcer
wrk -t20 -c20 -d20s http://localhost:13040/api/users

nocobase-app

yarn install
yarn build
yarn nocobase install
yarn start
wrk -t20 -c20 -d20s http://localhost:13000/api/users?token=