Skip to content

performance of thread_pool_executor in fork-join is very bad #174

@tzcnt

Description

@tzcnt

I am putting together a cross-cutting comparison of async runtimes. You can see the current benchmark results here: https://github.com/tzcnt/runtime-benchmarks

The performance of concurrencpp is, at the moment, quite bad. I want to give you the opportunity to put your library in the best light. Perhaps there is a more optimal implementation for these benchmarks? Here is the concurrencpp implementation folder: https://github.com/tzcnt/runtime-benchmarks/tree/main/cpp/concurrencpp

One thing I tried was to remove the std::shared_ptr<thread_pool_executor> from the function parameters and replace it with a thread_pool_executor& - however this doesn't work with when_all() because that function simply requires a shared_ptr in the interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions