Post has attachment
M update: +Colt McAnlis explains new features in the “Profile GPU Rendering” tool.

https://goo.gl/WoZ9Hk

#PERFMATTERS

Post has attachment
Fun fact : Modern CPUs can only handle a certain number of threads at one time. Once you get above that limit, they have to start scheduling which thread gets the next open block of CPU processing time. And even better : This can influence the performance of your Android app.

In this video +Colt McAnlis introduces the concept of thread priority, why it’s important to work with, and how to set it for threads you create, in a very sane way.

https://goo.gl/Ts3IOB

Post has attachment
Let’s say you’ve got some 20 bitmaps being decoded on a worker thread. Well, what happens if your activity is destroyed before that work completes?

In this video Doug Stevenson explains Loaders. A super-helpful class that can give you insight into how the activity lifecycle is changing, so that you can better understand how to address threaded work that might be in flight.

https://goo.gl/xVJUe1

#Perfmatters
Animated Photo

Post has attachment
Dealing with intent responses is a backbone concept to Android development, but it can be tricky: https://goo.gl/ehSnRM #Perfmatters
Animated Photo

Post has attachment
Swimming in Threadpools

We know that you’re an awesome engineer, and you’re using threading to the MAX. But over time, it gets harder and harder to handle how work is distributed across all those AsyncTasks and HandlerThreads. It gets especially tricky when you try to break up large blocks of work, like image processing, and find a threaded solution for it.

https://goo.gl/Z2UlFp

#Perfmatters
Animated Photo

Post has attachment
While AsyncTask is the most useful threading class you can use, there’s some situations where it just doesn’t make sense. For example, AsyncTasks aren’t good for long-running work, or for threaded callbacks. Learn more in this video with +Colt McAnlis. #Perfmatters
https://goo.gl/yFZULo

Post has attachment
AsyncTask is awesome, but far from a silver bullet; there’s a few nuances and tricks that come alongside this handy helper, which if you don’t pay attention to, can lead to memory leaks, headaches, and other sorts of craziness. Learn more in this video with +Colt McAnlis #Perfmatters https://goo.gl/qHpG8g

Post has attachment
In this video +Colt McAnlis introduces some of the nuances of how memory and threading work together on android, and gives some tips on how you can avoid memory leaks and other issues with lifecycle changes.
#Perfmatters https://goo.gl/qlXbwn

Post has attachment
To become a zen-ninja of writing threaded code, you need to understand how the Android platform uses threading at the system level, and how that influences design choices & decisions in your app. Join +Colt McAnlis in this video to learn more!

#Perfmatters https://goo.gl/LlNcvy

Post has shared content
Android Performance Patterns Season 5 is here! Join +Colt McAnlis as he offers a high-level view to why threading is so important, in episode 1. #Perfmatters https://goo.gl/3Kiim0
Wait while more posts are being loaded