How do I turn off Coroutine names being set on Thr...
# coroutines
y
How do I turn off Coroutine names being set on Threads? I'm having a performance bottleneck as a result. In a test, I'm getting 62% of time being spent on
Thread.setName
s
Don't coroutine names only apply in debug mode?
At least, that's what the API doc implies
y
That's what I thought too. Maybe I accidentally have that turned on? Not entirely sure, but I'm seeing those threadContext calls happening that trigger
Thread.setName
. I shall investigate!
l
You might be switching dispatchers a bit too often for that to become a significant part of your CPU time