kotlinx.coroutines icon indicating copy to clipboard operation
kotlinx.coroutines copied to clipboard

Performance degradation in 1.10.1 after changing the behavior of `yield`

Open knisht opened this issue 7 months ago • 1 comments
trafficstars

Describe the bug

In IntelliJ, we observe a performance degradation connected to #4255 . It seems that previously skipped tryUnpark starts to be visible in performance snapshots.

Provide a Reproducer

I did not build exact reproducer, but it likely involves a ton of yields; unfortunately, this sometimes happens in production. There is more information in https://youtrack.jetbrains.com/issue/IJPL-182130.

knisht avatar Mar 31 '25 12:03 knisht