Analisis Kinerja Library Image Loading Glide, Picasso, dan Coil dalam Aplikasi MovieApp
DOI:
https://doi.org/10.33050/cerita.v12i2.3818Keywords:
Image Loading Library, Glide, Picasso, Coil, Snapdragon Profiler, LeakCanary, Compose Test RuleAbstract
This study aims to analyze the performance of three image loading libraries in Android, namely Glide, Picasso, and Coil, using the MovieApp as a case study. The analysis is conducted based on four key parameters: CPU usage, memory usage, image loading time, and memory leak potential. The testing is carried out using the UI Test method with Compose Test Rule, where the image loading time for each item in the application is measured and averaged. To monitor CPU and memory consumption, the Snapdragon Profiler tool is utilized, while memory leak potential is analyzed using the LeakCanary library. Additionally, testing is conducted under a network condition with an average speed of 20–30 Mbps and involves images of varying sizes to evaluate the libraries' performance in handling multiple scenarios. The results indicate that Coil achieves the fastest image loading time compared to Glide and Picasso, whereas Glide and Picasso demonstrate better memory efficiency. Although Coil excels in speed, the selection of an image loading library should also consider other aspects such as stability and compatibility. This analysis serves as a guideline for developers in choosing the most suitable image loading library based on application requirements and system limitations.