A Saga of Improvement in Android App Performance — Part 1

Vishal Gupta
Apr 24 · 5 min read
Image for post
Image for post

Why performance is Important?


Improvement Stages

Image for post
Image for post
Improvement process cycle at Tokopedia


protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); doSomeInit();
private void setOnRecyclerViewLayoutReady(boolean isCache) {
ViewTreeObserver.OnGlobalLayoutListener() {
public void onGlobalLayout() {
//At this point the layout is complete and the
//dimensions of recyclerView and any child views are known.
if (homePerformanceMonitoringListener != null) {

How we build performance monitoring Dashboard?

FPI Big Query Example
App Start & PLT Query Example
Image for post
Image for post
Sample Line Graph of App Start created using Data Studio. Purple line depicts the target and black line depicts the app start metric per app version



Tokopedia Engineering

Story from people who build Tokopedia

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store