nocobase2/benchmark
YANG QIA 474b09c7f2
perf(server): optimize performance of APIs (#3079)
* perf: add perf_hooks

* perf: add cache

* fix: test

* feat: support bloom filter

* feat: caching token black list

* perf: caching i18n instance

* fix: test

* fix: test

* chore: remove prePerfHooks on app

* chore: improve i18n instances cache

* chore: remove performance measure

* fix: package.json

* perf: optimize cache strategy

* fix: test

* fix: bug

* test: storer of auth-manager

* fix: afterDestroy hook when updating null value

* fix: version

* chore: fix bug and add test

* fix: test

* fix: test
2023-12-12 23:02:09 +08:00
..
koa-database perf(server): optimize performance of APIs (#3079) 2023-12-12 23:02:09 +08:00
koa-resourcer feat: framework benchmark (#2915) 2023-10-27 10:00:49 +08:00
koa-sequelize perf(server): optimize performance of APIs (#3079) 2023-12-12 23:02:09 +08:00
nocobase-server perf(server): optimize performance of APIs (#3079) 2023-12-12 23:02:09 +08:00
README.md feat: framework benchmark (#2915) 2023-10-27 10:00:49 +08:00

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=