eggjs / eggjs/egg

eggjs/benchmark does not make use of all the cores available

Open
#1,501 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.