Expected behavior
Without suspension happening, asynchronous calls should be about as fast as synchronous calls.
What happens instead
But in certain circumstances, more precisely for the last three runs in the example, the factor is much higher, up to more than 6000. (In debug mode, only the last number is much higher than 1, it is 22).
Describe the bug Without suspension happening, asynchronous calls should be about as fast as synchronous calls. But this is not always the case.
Steps To Reproduce Steps to reproduce the behavior:
Expected behavior Without suspension happening, asynchronous calls should be about as fast as synchronous calls.
What happens instead But in certain circumstances, more precisely for the last three runs in the example, the factor is much higher, up to more than 6000. (In debug mode, only the last number is much higher than 1, it is 22).
Profile data Attached: profile.trace.zip
Program output (release):
Environment (please fill out the following information)
Additional context Add any other context about the problem here.