SlideShare une entreprise Scribd logo
1  sur  58
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016
Understanding UX
& Hacking Perceived Performance
NY Web Performance Meetup • May 2016
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016
@tameverts
performancebeacon.com
WPOstats.com
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 3
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 4
Source: 1&1 Internet
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 5
The average web user
believes they waste
two days a year
waiting for pages to load.
Source: 1&1 Internet
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 6
Source: Akamai
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 7
Source: Stoyan Stefanov, The Psychology of Speed
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 8
Source: webperf.io
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 9
“The real thing we are after is
to create a user experience that
people love and they feel is fast…
and so we might be front-end
engineers, we might be dev,
we might be ops, but what we
really are is perception brokers.”
Steve Souders
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 10
“Oh… pity the hyper-impatient web
generation. Such busy lives with so
many important things to do — like post
the latest drivel onto their Facebook
pages or download
the YouTube viral video of the day.
Oops, sorry — of the minute.”
Reader comment
“For Impatient Web Users, An Eye Blink Is Too Long to Wait”
The New York Times
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 11
Source: Jakob Nielsen
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 12
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 13
“We want you to be able to flick
from one page to another as
quickly as you can flick a page on a
book. So we’re really aiming very,
very high here… at something like
100 milliseconds.”
Urs Hölzle
Senior Vice President of Technical Infrastructure
Google
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 14
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 15
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 16
fast
slow
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 17
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 18
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 19
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 20
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 21
“Time is measured objectively
but perceived subjectively,
and experiences can
be engineered to improve
perceived performance.”
Ilya Grigorik
High Performance Browser Networking
Progress indicators
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 23
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 24
A progress indicator on a page that
loads in <5 seconds will make that
page feel slower.
Best case: 10+ seconds
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 25
Progress bars that offer the illusion of a
left-moving ripple can improve
perceived wait time by up to 10%.
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 26
Progress bars that pulse, and that
increase pulsation frequency as the bar
progresses, are perceived as being
faster.
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 27
Progress bars that speed up are
considered more satisfying by users.*
*Think back to that colonoscopy research
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 28
But…
Use them sparingly.
Images
30
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 31
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 32
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 33
When do users start to interact with a page?
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 34
Source: Radware, Progressive JPEGs: Good or Evil?
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 35
“When, as with the Progressive JPEG
method, image rendition is a two-stage
process in which an initially coarse image
snaps into sharp focus, cognitive fluency
is inhibited and the brain has to work
slightly harder to make sense of what is
being displayed.”
Dr. David Lewis
Chair, Mindlab International
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 36
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 37
http://www.oreilly.com/pub/e/3425
Defer
39
Third-party content
can make up >50%
of page requests
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 40
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 41
Exposes you to data leakage
Generates content security warnings that alarm
your visitors and kill your conversions
Hurts your Google search rankings (SEO)
Makes your site vulnerable to man-in-the-middle
security attacks
Potential impact of fourth-party calls
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 42
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 43
Original: 3.5s
SPOF: 22.7s
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 44
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 45
Popup best practices
• Optimize script
• Ensure cross-browser
functionality
• Delay for at least 10 seconds
• A/B test for effectiveness
Measure the
right stuff
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 47
First Paint is not equal to Start Render!
Chrome – “First Paint” True Start Render
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 48
User Timing Interface
Allows developers to measure performance of
their applications through high-precision
timestamps
Consists of “marks” and “measures”
 PerformanceMark: Timestamp
 PerformanceMeasure: Duration between two
given marks
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 49
How long does it
take to display the
main product
image on my site?
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 50
Record when an image loads
<img src=“image1.gif” onload=“performance.mark(‘image1’)”>
For more interesting examples:
Measure hero image delay
http://www.stevesouders.com/blog/2015/05/12/hero-image-custom-metrics/
Measure aggregate times to get
an “above fold time”
http://blog.patrickmeenan.com/2013/07/measuring-performance-of-user-
experience.html
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 51
http://soasta.io/perftimings
Be useful
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 53
A user who was served feature content within
the first second of page load
spent 20% of his or her time
within the feature area.
A user who was subjected to an
8-second delay of a page’s feature content
spent only 1% of his or her time visually
engaging with that area of the page.
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 54
Source: Jakob Nielsen
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 55
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 56
Make the perceived value
of your content
worth the wait.
Thanks!
CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016
@tameverts
performancebeacon.com
WPOstats.com

Contenu connexe

Plus de Tammy Everts

Smashing Meets for Speed: Why web performance matters – especially now
Smashing Meets for Speed: Why web performance matters – especially nowSmashing Meets for Speed: Why web performance matters – especially now
Smashing Meets for Speed: Why web performance matters – especially nowTammy Everts
 
2020 Chrome Dev Summit: Web Performance 101
2020 Chrome Dev Summit: Web Performance 1012020 Chrome Dev Summit: Web Performance 101
2020 Chrome Dev Summit: Web Performance 101Tammy Everts
 
The 7 Habits of Highly Effective Performance Teams [PerfNow 2019]
The 7 Habits of Highly Effective Performance Teams [PerfNow 2019]The 7 Habits of Highly Effective Performance Teams [PerfNow 2019]
The 7 Habits of Highly Effective Performance Teams [PerfNow 2019]Tammy Everts
 
How to create a performance-first culture [2018 WebPerfDays Amsterdam]
How to create a performance-first culture [2018 WebPerfDays Amsterdam]How to create a performance-first culture [2018 WebPerfDays Amsterdam]
How to create a performance-first culture [2018 WebPerfDays Amsterdam]Tammy Everts
 
How I learned to stop worrying and love UX metrics
How I learned to stop worrying and love UX metricsHow I learned to stop worrying and love UX metrics
How I learned to stop worrying and love UX metricsTammy Everts
 
Connecting the dots between design, performance and conversion rates [Smashin...
Connecting the dots between design, performance and conversion rates [Smashin...Connecting the dots between design, performance and conversion rates [Smashin...
Connecting the dots between design, performance and conversion rates [Smashin...Tammy Everts
 
The hunt for the unicorn performance metric [DeltaV London 2018]
The hunt for the unicorn performance metric [DeltaV London 2018]The hunt for the unicorn performance metric [DeltaV London 2018]
The hunt for the unicorn performance metric [DeltaV London 2018]Tammy Everts
 
Performance Is About People, Not Metrics [2017 Web Directions Summit]
Performance Is About People, Not Metrics [2017 Web Directions Summit] Performance Is About People, Not Metrics [2017 Web Directions Summit]
Performance Is About People, Not Metrics [2017 Web Directions Summit] Tammy Everts
 
Using machine learning to determine drivers of bounce and conversion
Using machine learning to determine drivers of bounce and conversionUsing machine learning to determine drivers of bounce and conversion
Using machine learning to determine drivers of bounce and conversionTammy Everts
 
2016 Mobile State of the Union [RWD Summit]
2016 Mobile State of the Union [RWD Summit]2016 Mobile State of the Union [RWD Summit]
2016 Mobile State of the Union [RWD Summit]Tammy Everts
 
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]Tammy Everts
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Tammy Everts
 
How Slow Load Times Hurt Your Bottom Line (And 17 Things You Can Do to Fix It)
How Slow Load Times Hurt Your Bottom Line (And 17 Things You Can Do to Fix It)How Slow Load Times Hurt Your Bottom Line (And 17 Things You Can Do to Fix It)
How Slow Load Times Hurt Your Bottom Line (And 17 Things You Can Do to Fix It)Tammy Everts
 
2015 State of the Union: Mobile Web Performance
2015 State of the Union: Mobile Web Performance2015 State of the Union: Mobile Web Performance
2015 State of the Union: Mobile Web PerformanceTammy Everts
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Tammy Everts
 
Pedal to the Metal: Speed up your load times for more conversions
Pedal to the Metal: Speed up your load times for more conversionsPedal to the Metal: Speed up your load times for more conversions
Pedal to the Metal: Speed up your load times for more conversionsTammy Everts
 
State of the Union: Mobile Web Performance
State of the Union: Mobile Web PerformanceState of the Union: Mobile Web Performance
State of the Union: Mobile Web PerformanceTammy Everts
 

Plus de Tammy Everts (17)

Smashing Meets for Speed: Why web performance matters – especially now
Smashing Meets for Speed: Why web performance matters – especially nowSmashing Meets for Speed: Why web performance matters – especially now
Smashing Meets for Speed: Why web performance matters – especially now
 
2020 Chrome Dev Summit: Web Performance 101
2020 Chrome Dev Summit: Web Performance 1012020 Chrome Dev Summit: Web Performance 101
2020 Chrome Dev Summit: Web Performance 101
 
The 7 Habits of Highly Effective Performance Teams [PerfNow 2019]
The 7 Habits of Highly Effective Performance Teams [PerfNow 2019]The 7 Habits of Highly Effective Performance Teams [PerfNow 2019]
The 7 Habits of Highly Effective Performance Teams [PerfNow 2019]
 
How to create a performance-first culture [2018 WebPerfDays Amsterdam]
How to create a performance-first culture [2018 WebPerfDays Amsterdam]How to create a performance-first culture [2018 WebPerfDays Amsterdam]
How to create a performance-first culture [2018 WebPerfDays Amsterdam]
 
How I learned to stop worrying and love UX metrics
How I learned to stop worrying and love UX metricsHow I learned to stop worrying and love UX metrics
How I learned to stop worrying and love UX metrics
 
Connecting the dots between design, performance and conversion rates [Smashin...
Connecting the dots between design, performance and conversion rates [Smashin...Connecting the dots between design, performance and conversion rates [Smashin...
Connecting the dots between design, performance and conversion rates [Smashin...
 
The hunt for the unicorn performance metric [DeltaV London 2018]
The hunt for the unicorn performance metric [DeltaV London 2018]The hunt for the unicorn performance metric [DeltaV London 2018]
The hunt for the unicorn performance metric [DeltaV London 2018]
 
Performance Is About People, Not Metrics [2017 Web Directions Summit]
Performance Is About People, Not Metrics [2017 Web Directions Summit] Performance Is About People, Not Metrics [2017 Web Directions Summit]
Performance Is About People, Not Metrics [2017 Web Directions Summit]
 
Using machine learning to determine drivers of bounce and conversion
Using machine learning to determine drivers of bounce and conversionUsing machine learning to determine drivers of bounce and conversion
Using machine learning to determine drivers of bounce and conversion
 
2016 Mobile State of the Union [RWD Summit]
2016 Mobile State of the Union [RWD Summit]2016 Mobile State of the Union [RWD Summit]
2016 Mobile State of the Union [RWD Summit]
 
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)
 
How Slow Load Times Hurt Your Bottom Line (And 17 Things You Can Do to Fix It)
How Slow Load Times Hurt Your Bottom Line (And 17 Things You Can Do to Fix It)How Slow Load Times Hurt Your Bottom Line (And 17 Things You Can Do to Fix It)
How Slow Load Times Hurt Your Bottom Line (And 17 Things You Can Do to Fix It)
 
2015 State of the Union: Mobile Web Performance
2015 State of the Union: Mobile Web Performance2015 State of the Union: Mobile Web Performance
2015 State of the Union: Mobile Web Performance
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)
 
Pedal to the Metal: Speed up your load times for more conversions
Pedal to the Metal: Speed up your load times for more conversionsPedal to the Metal: Speed up your load times for more conversions
Pedal to the Metal: Speed up your load times for more conversions
 
State of the Union: Mobile Web Performance
State of the Union: Mobile Web PerformanceState of the Union: Mobile Web Performance
State of the Union: Mobile Web Performance
 

Dernier

办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxAndrieCagasanAkio
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxMario
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxmibuzondetrabajo
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119APNIC
 
ETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxNIMMANAGANTI RAMAKRISHNA
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书rnrncn29
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 

Dernier (11)

办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptx
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptx
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptx
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
ETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptx
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 

Understanding UX & Hacking Perceived Performance

  • 1. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 Understanding UX & Hacking Perceived Performance NY Web Performance Meetup • May 2016
  • 2. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 @tameverts performancebeacon.com WPOstats.com
  • 3. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 3
  • 4. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 4 Source: 1&1 Internet
  • 5. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 5 The average web user believes they waste two days a year waiting for pages to load. Source: 1&1 Internet
  • 6. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 6 Source: Akamai
  • 7. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 7 Source: Stoyan Stefanov, The Psychology of Speed
  • 8. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 8 Source: webperf.io
  • 9. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 9 “The real thing we are after is to create a user experience that people love and they feel is fast… and so we might be front-end engineers, we might be dev, we might be ops, but what we really are is perception brokers.” Steve Souders
  • 10. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 10 “Oh… pity the hyper-impatient web generation. Such busy lives with so many important things to do — like post the latest drivel onto their Facebook pages or download the YouTube viral video of the day. Oops, sorry — of the minute.” Reader comment “For Impatient Web Users, An Eye Blink Is Too Long to Wait” The New York Times
  • 11. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 11 Source: Jakob Nielsen
  • 12. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 12
  • 13. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 13 “We want you to be able to flick from one page to another as quickly as you can flick a page on a book. So we’re really aiming very, very high here… at something like 100 milliseconds.” Urs Hölzle Senior Vice President of Technical Infrastructure Google
  • 14. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 14
  • 15. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 15
  • 16. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 16 fast slow
  • 17. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 17
  • 18. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 18
  • 19. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 19
  • 20. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 20
  • 21. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 21 “Time is measured objectively but perceived subjectively, and experiences can be engineered to improve perceived performance.” Ilya Grigorik High Performance Browser Networking
  • 23. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 23
  • 24. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 24 A progress indicator on a page that loads in <5 seconds will make that page feel slower. Best case: 10+ seconds
  • 25. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 25 Progress bars that offer the illusion of a left-moving ripple can improve perceived wait time by up to 10%.
  • 26. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 26 Progress bars that pulse, and that increase pulsation frequency as the bar progresses, are perceived as being faster.
  • 27. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 27 Progress bars that speed up are considered more satisfying by users.* *Think back to that colonoscopy research
  • 28. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 28 But… Use them sparingly.
  • 30. 30
  • 31. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 31
  • 32. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 32
  • 33. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 33 When do users start to interact with a page?
  • 34. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 34 Source: Radware, Progressive JPEGs: Good or Evil?
  • 35. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 35 “When, as with the Progressive JPEG method, image rendition is a two-stage process in which an initially coarse image snaps into sharp focus, cognitive fluency is inhibited and the brain has to work slightly harder to make sense of what is being displayed.” Dr. David Lewis Chair, Mindlab International
  • 36. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 36
  • 37. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 37 http://www.oreilly.com/pub/e/3425
  • 38. Defer
  • 39. 39 Third-party content can make up >50% of page requests
  • 40. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 40
  • 41. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 41 Exposes you to data leakage Generates content security warnings that alarm your visitors and kill your conversions Hurts your Google search rankings (SEO) Makes your site vulnerable to man-in-the-middle security attacks Potential impact of fourth-party calls
  • 42. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 42
  • 43. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 43 Original: 3.5s SPOF: 22.7s
  • 44. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 44
  • 45. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 45 Popup best practices • Optimize script • Ensure cross-browser functionality • Delay for at least 10 seconds • A/B test for effectiveness
  • 47. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 47 First Paint is not equal to Start Render! Chrome – “First Paint” True Start Render
  • 48. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 48 User Timing Interface Allows developers to measure performance of their applications through high-precision timestamps Consists of “marks” and “measures”  PerformanceMark: Timestamp  PerformanceMeasure: Duration between two given marks
  • 49. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 49 How long does it take to display the main product image on my site?
  • 50. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 50 Record when an image loads <img src=“image1.gif” onload=“performance.mark(‘image1’)”> For more interesting examples: Measure hero image delay http://www.stevesouders.com/blog/2015/05/12/hero-image-custom-metrics/ Measure aggregate times to get an “above fold time” http://blog.patrickmeenan.com/2013/07/measuring-performance-of-user- experience.html
  • 51. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 51 http://soasta.io/perftimings
  • 53. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 53 A user who was served feature content within the first second of page load spent 20% of his or her time within the feature area. A user who was subjected to an 8-second delay of a page’s feature content spent only 1% of his or her time visually engaging with that area of the page.
  • 54. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 54 Source: Jakob Nielsen
  • 55. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 55
  • 56. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 56 Make the perceived value of your content worth the wait.
  • 58. CONFIDENT IAL – Not for Distribution | ©2016 SOASTA, All rights reserved. | October 3, 2016 @tameverts performancebeacon.com WPOstats.com