Xcode profiler on iOS Simulator, 5s wall time :swe...
# multiplatform
m
Xcode profiler on iOS Simulator, 5s wall time 😅 I need at least move that off the main thread.
😱 2
s
Wall time?
m
over the period of 5s in the real world I had 224ms main thread work just for KotlinInt boxing
s
Is this in Kotlin Native, Android project or the back end? Kinda curious too if it all is coming from one call site or that's just something happening throughout the project.
m
MPM project - iOS Simulator - Xcode profiler but I think it's kotlinx.serialization at work here
Unfortunately the profile doesn't seem to be able to show me any call sites
s
kotlinx.serialization shouldn't box anything, unless you have Int in some generic position (i.e.
Box<Int>
). But such boxes usually degrade performance everywhere
m
hmm no, I don't have something like that