Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-core benchmarks #829

Open
tillkruss opened this issue May 9, 2021 · 3 comments
Open

Multi-core benchmarks #829

tillkruss opened this issue May 9, 2021 · 3 comments

Comments

@tillkruss
Copy link
Contributor

It would be quite useful, if it's not too complex, to benchmark code on several processes simultaneously and collect results from each process, Relay is a good example.

Some code might scale quite well with each core creating higher throughput, other code might be bottlenecked and adding more processes/workers won't do anything.

@dantleech
Copy link
Member

Probably this could be done via. executor config #[Executor('microtime', ['processes' => 4]) where the iterations will be distributed over the processes.

@sgmihai
Copy link

sgmihai commented Feb 21, 2022

Has this been implemented yet ? Or are we supposed to multiply the score with the number of cores to get an approximate maximum performance number? (not including multi threading?)

@dantleech
Copy link
Member

dantleech commented Feb 21, 2022

No it hasn't. Currently benchmarks will run in 1 core (i.e. there is only 1 process running). What would your use case be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants