In this review we spend time profiling universal image loader library using the traceview, memory monitor & GPU render profiling tools. Results TRACEVIEW In comparison with the other libraries we observed more than one thread pool with each pool consisting of three threads. At some stages the threads in each pool were executing at the […]

Read more

In this review we spend time profiling android fresco loader library using the traceview, memory monitor & GPU render profiling tools. Results TRACEVIEW Here we observe four background threads loading the image files with no noticeable pauses in the UI thread. It was noted that scrolling performance was good compared with the other image loading libraries. MEMORY […]

Read more

In this review we spend time profiling android picasso loader library using the traceview, memory monitor & GPU render profiling tools.   Results TRACEVIEW Here we observe three background threads all running at the same time resulting in much quicker image loading. Also note the lack of significant spaces in the main ui thread which translates into […]

Read more

In this review we spend time profiling android glide loader library using the traceview, memory monitor & GPU render profiling tools. Results TRACEVIEW Here we observe four background threads all running at the same time resulting in much quicker image loading. Also note the lack of significant spaces in the main ui thread which translates […]

Read more

In this review we spend time profiling android recyclerview grid gallery using the traceview, memory monitor & GPU render profiling tools. Results TRACEVIEW From this chart we can observe that a android AsyncTask has been used to handle the bitmap loading which is not the best method for this type of application. Note the gaps […]

Read more

In the Android performance with inBitmap tutorial we add the BitmapFactory.Option’s inBitmap flag which can be used for bitmaps that have been evicted from the memory cache but not yet deallocated. This is only supported for android versions Honeycomb or later. Implementation Create a Set of SoftReferenced Bitmaps CamaraIntentActivity private static Set<SoftReference<Bitmap>> mReuseableBitmap; Initialise the […]

Read more

This android video tutorial explains how to create memory cache for android. Using this method will have a dramatic effect on performance for android applications. Implementation Create LruCache final int maxMemorySize = (int) Runtime.getRuntime().maxMemory() / 1024; final int cacheSize = maxMemorySize / 10; mMemoryCache = new LruCache<String, Bitmap>(cacheSize) { @Override protected int sizeOf(String key, Bitmap […]

Read more