Relative Content

Tag Archive for androidretrofitktorktor-client

Is retrofit fast than ktor Client

In my Android application, I’m currently using Retrofit to fetch data from an external API. I’ve noticed that the data retrieval process typically takes between 500 to 600 milliseconds to complete. Out of curiosity, I decided to implement the same API call using the Ktor client. However, I was surprised to find that with Ktor, the same data fetch operation takes significantly longer, ranging from 800 to 900 milliseconds.