Sessions

Android Performance Patterns: Rendering Performance 101

Android Performance Patterns: Rendering Performance 101

2 years ago
Rendering performance is all about how fast you can draw your activity, and get it updated on the screen. Success here means your users feeling like your application is smooth and responsive, which means that you’ve got to get all your logic completed, _and_ all your rendering done in 16ms or less, each and every […]
Android Performance Patterns: Understanding Overdraw

Android Performance Patterns: Understanding Overdraw

2 years ago
One of the most problematic performance problems on Android is the easiest to create; thankfully, it’s also easy to fix. OVERDRAW is a term used to describe how many times a pixel has been re-drawn in a single frame of rendering. It’s a troublesome issue, because in most cases, pixels that are overdrawn do not […]
Android Performance Patterns: Understanding VSYNC

Android Performance Patterns: Understanding VSYNC

2 years ago
Unbeknown to most developers, there’s a simple hardware design that defines everything about how fast your application can draw things to the screen. You may have heard the term VSYNC – VSYNC stands for vertical synchronization and it’s an event that happens every time your screen starts to refresh the content it wants to show […]
Battery Drain and Networking (Android Performance Patterns Season 2 ep1)

Battery Drain and Networking (Android Performance Patterns Season 2 ep1)

2 years ago
Let’s take a moment to make something insanely clear: As far as battery is concerned, NETWORKING is the biggest, baddest, dirtiest offender there is. And optimizing performance here isn’t easy. Since the chip isn’t always awake and draining power, means you can optimize how it wakes up, sends traffic, and saves battery. As Colt McAnlis […]
Smooth Android Wear Animation (Android Performance Patterns Season 2 ep3)

Smooth Android Wear Animation (Android Performance Patterns Season 2 ep3)

2 years ago
Android Wear packs a lot of power into a highly portable package. As a result, there is no excuse for your material inspired animation to be anything but buttery smooth. By following these best practices, your app can be power efficient. In this video, Hoi Lam will walk you through three top areas which impacts […]
Wear & Sensors (Android Performance Patterns Season 2 ep2)

Wear & Sensors (Android Performance Patterns Season 2 ep2)

2 years ago
Android Wear watches bring the power of Android’s sensors directly to your wrist. Whether your app uses the accelerometer, gyroscope, magnetometer, hardware-accelerated step sensor, or more, the sensors on Android’s newest wearable can give you more accurate and personalized information than ever before. Good practices for using sensors on Android are critical to battery life […]
Android Wear Data Batching (Android Performance Patterns Season 2 ep4)

Android Wear Data Batching (Android Performance Patterns Season 2 ep4)

2 years ago
Writing fast and battery-friendly phone apps is essential for making users happy. But for Android Wear, it is absolutely critical. In this video, Wayne Piekarski shows you some simple tricks to batch up your Android Wear data transfers, helping to make your wearable apps more battery efficient. Some of the most important ideas are: – […]
Object Pools (Android Performance Patterns Season 2 ep5)

Object Pools (Android Performance Patterns Season 2 ep5)

2 years ago
Memory Churn is a constant, and serious problem for the performance of your applications. Allocating loads of temporary objects in a short time frame puts a ton of pressure on your memory heaps, resulting in more GC events being kicked off. In this video Colt McAnlis, provides a recipe for success here: Rather than promoting […]
To Index or Iterate? (Android Performance Patterns Season 2 ep6)

To Index or Iterate? (Android Performance Patterns Season 2 ep6)

2 years ago
The Java Language typically suggests that programmers use ITERATORS in order to walk over containers, due to a whole list of very important code stability reasons. That’s all fine and-dandy, but we have to ask if they are performant, as well as easy-to-use. To find the answer Colt McAnlis wrote some code, measured some containers, […]
The Magic of LRU Cache (100 Days of Google Dev)

The Magic of LRU Cache (100 Days of Google Dev)

2 years ago
Here’s a common problem that I’m sure you’ve run into: It’s time to load a new bitmap for your apps’ social media stream, or whatever, but you’re out of memory. You can’t load in the new bitmap, without first destroying one of the existing bitmaps already in memory. But, which one should you get rid […]
Using LINT for Performance Tips (100 Days of Google Dev)

Using LINT for Performance Tips (100 Days of Google Dev)

2 years ago
Wouldn’t it be great if there was a magical tool that would scan your code, and let you know about performance problems before your users found out about it? There is. It’s called LINT, and it’s a tool, built right into Android Studio to help you track down all sorts of issues. In this video, […]
Hidden Cost of Transparency (100 Days of Google Dev)

Hidden Cost of Transparency (100 Days of Google Dev)

1 year ago
Transparency & Alpha is one of those awesome visual effects that helps communicate important details to the user, but sometimes it costs more than it has to. In this video, Ian Ni Lewis discusses the secret performance costs of using transparency on Android, and all the tips & tricks needed to help you find, and […]