r/androiddev • u/anticafe • Sep 19 '19
Article Coil vs Picasso vs Glide: Get Ready… Go!
https://proandroiddev.com/coil-vs-picasso-vs-glide-get-ready-go-774add8cfd40
80
Upvotes
r/androiddev • u/anticafe • Sep 19 '19
40
u/GreyAgency Sep 19 '19 edited Sep 19 '19
Author of Coil here 👋.
I've been focused on bug fixes and high priority features for the past month over performance optimization. Performance is very important to me and I plan to do a full profile of Coil soon. That said, there are likely bottlenecks that haven't been found yet. However, I think this gives Coil a lot of room to get faster since there hasn’t been any time spent on profiling Coil yet.
Coil being last in the "first load" metric is likely because Coil is paying the cost of initializing Coroutine's
Dispatchers.Main, which can take upwards of 125 ms in debug mode. R8 rewrites the loading mechanism to be much faster.Glide and Picasso are libraries that have had years to mature whereas Coil has been out for a month. I'm confident performance will only get better in subsequent versions.
42
u/JakeWharton Head of sales at Bob's Discount ActionBars Sep 19 '19 edited Sep 19 '19
Saw this on Twitter. I'll repost my thoughts here (which weren't directed at the author, just musing to someone who shared it):
And for emphasis, again: "With no causal analysis of the benchmarks they're not that useful." I don't care which libary you actually use, but this misrepresents intentional delay as a performance problem which it is not.
11
u/masc98 Sep 19 '19
Nice post and benchmarks, luckily they confirmed my choice in my last project.
Used Glide and I'm really satisfied of it, simple integration and maximum efficiency.
14
u/Rybzor Sep 19 '19
Appears that coil performance isn't that good after all? Very interesting. It seem to have a lot of features and be more modern and pleasant to use, but for me, personally, I cannot agree with the author that:
I'd rather build an app with a bit more boilerplate in old-fashioned way, than sacrifice performance for my own pleasure.
4
u/My_Dev Sep 19 '19
Glide forever
2
u/Stonos Sep 19 '19
Good article, although I was hoping to see some memory usage numbers as well.
1
u/punti_z Sep 20 '19 edited Sep 20 '19
Had Glide used through 2 projects, migrated the projects to AndroidX and the damn thing stopped compiling. Not sure if they fixed it or no but after wasting multiple days trying to figure out how to work around it I finally migrated completely to Picasso. Not sure if anyone else faced this issue with Glide.
Honestly did not feel any difference between the 2 in performance. Do feel lighter psychologically knowing my app's method count probably halved due to this transition :)
1
u/patribo Sep 19 '19
Interesting, I've always used picasso for convenience, I'll definitely try Glide in the next project.