Skip to content

Performance issue when calling Async.RunSynchronously inside Async.Parallel #581

@eiriktsarpalis

Description

@eiriktsarpalis

I can reproduce the following performance issue in VS 2015:

https://gist.github.com/eiriktsarpalis/17b5652d57974d0e3e5d

Not sure why this happens.

EDIT: it looks like this can be solved by increasing the minimum number of threads in the thread pool, however I'd still be interested to find out why RunSynchronously causes such dramatic performance degradation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions