Hello everyone, need some help here regarding Ktor...
# multiplatform
m
Hello everyone, need some help here regarding Ktor in iOS. I find in my test result, Ktor is slower compare to NSUrlSession. when comparing same API and same environment. I think something wrong with my implementation but not sure why. will appreciate any help here thank you color
l
Hello, will be hard to tell without any clue about what you're measuring, and how.
m
So I’m doing some performance test between native network request and Ktor network request. I made a 1000 calls and calculate the average response time in milliseconds. There’s significant difference between Ktor and UrlSession not sure my implementation is correct but here's some piece of the KMM code. I used this HttpClient to make a post call to my API
l
Can you link us an open source project with the benchmark of both implementations?