eggjs/benchmark does not make use of all the cores available
Open
benchmark
Inactive
- Dominant language
- TypeScript
- Stars
- 19k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
* **Node Version**: all
* **Platform**: Intel Xeon
The number of workers is hard-coded in `dispatch.js` of all cases e.g. :
https://github.com/eggjs/benchmark/blob/master/simple/dispatch.js#L5-L8
And the number of threads used to run the benchmark is also hard-coded, e.g.:
https://github.com/eggjs/benchmark/blob/master/simple/run.sh#L51-L55
We should also make it possible to fire requests from another machine instead of the one serving them.
Contributor guide
Assessment
This issue has not been assessed yet.