Optimizing Mobile Performance with Real User Monitoring Brit Young - - PowerPoint PPT Presentation

optimizing mobile performance with real user monitoring
SMART_READER_LITE
LIVE PREVIEW

Optimizing Mobile Performance with Real User Monitoring Brit Young - - PowerPoint PPT Presentation

Optimizing Mobile Performance with Real User Monitoring Brit Young Mobile Product Manager New Relic What distinguishes a high performance mobile app? What distinguishes high performance for your mobile app? Source : XKCD Source : XKCD APM


slide-1
SLIDE 1

Optimizing Mobile Performance

with Real User Monitoring

Brit Young

Mobile Product Manager New Relic

slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4

What distinguishes a high performance mobile app?

slide-5
SLIDE 5
slide-6
SLIDE 6

What distinguishes high performance for your mobile app?

slide-7
SLIDE 7
slide-8
SLIDE 8 Source:XKCD
slide-9
SLIDE 9 Source:XKCD
slide-10
SLIDE 10
slide-11
SLIDE 11

APM

Application Performance Monitoring

m

slide-12
SLIDE 12

what could possibly go wrong?

slide-13
SLIDE 13

★ UI Interactions ★ Network Requests ★ Third Party APIs ★ Database Requests ★ Real User Data

hardware?

  • s version?

carrier? network type? geography? JSON data? UI path?

slide-14
SLIDE 14

100

OS versions

4000

device models

600

network carriers

x x

240M

possible combinations

slide-15
SLIDE 15

3

OS

10

devices

5

top carriers

x x

210

possible combinations

+2 (wifi) x2

  • rientation

150 420

x ?

user specific data & settings

slide-16
SLIDE 16

Crashes

UI Responsiveness

Battery Use

70%

non-crashing performance issues
slide-17
SLIDE 17

average app crashes 3 - 5% of sessions what happens in the other 95 - 97%

slide-18
SLIDE 18

01000010010! 01001001010001! 1100101000110010! 0101000101011101!

slide-19
SLIDE 19
slide-20
SLIDE 20

api.BankX.com lte api.BankXCalifornia.com Sensitive data

403

slide-21
SLIDE 21

“The true price of anything you do is the amount of time you exchange for it.”

― Henry David Thoreau, Walden

slide-22
SLIDE 22

Location, Location!

slide-23
SLIDE 23

Average = 1- 2s

slide-24
SLIDE 24

% of User Intent to Delete During Slow UI Responsiveness

100 0s 5s 30s

48% unforgiving 80% YIKES!

slide-25
SLIDE 25

Test Coverage

Beta, A/B Testing

Performance Blind Spot

LAUNCH

Crash/Bug Report Troubleshooting

slide-26
SLIDE 26

RUM

the only way to know what normal feels like to your users

Real User Monitoring

slide-27
SLIDE 27
  • Network

Requests

  • Mobile Code

Execution

(UI & background work)

Back-end Services

Key Performance Categories

slide-28
SLIDE 28

Network Performance

  • HTTP Error Rate
  • Avg ResponseTime
  • Requests Per Minute
  • Data Transfer Size
  • Network Failure Rates
slide-29
SLIDE 29

Mobile Code Execution

  • View Load Time
  • Database Request Time
  • JSON Parsing Speed
  • Image Load Time
  • % CPU Usage
  • Memory Usage
slide-30
SLIDE 30
slide-31
SLIDE 31

Monitor first for a baseline, validate acceptable range through user studies

slide-32
SLIDE 32

Organize foreground and background work for seamless user experience

slide-33
SLIDE 33
slide-34
SLIDE 34
slide-35
SLIDE 35
slide-36
SLIDE 36

Actions & Decisions Metrics Desired Outcome

slide-37
SLIDE 37
slide-38
SLIDE 38

Happy Monitoring!

Brit Young

@brittanytarvin brittany@newrelic.com