• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Show Me the Numbers: Automated Browser
 

Show Me the Numbers: Automated Browser

on

  • 282 views

 

Statistics

Views

Total Views
282
Views on SlideShare
121
Embed Views
161

Actions

Likes
0
Downloads
2
Comments
0

3 Embeds 161

https://summit.atlassian.com 159
https://wacdev.internal.atlassian.com 1
https://qa-wac.internal.atlassian.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Show Me the Numbers: Automated Browser Show Me the Numbers: Automated Browser Presentation Transcript

    • Show Me the Numbers AUTOMATED BROWSER PERFORMANCE TESTING CHRIS MOUNTFORD • SENIOR DEVELOPER, JIRA • ATLASSIAN • @CHROMOSUNDRIFT
    • 2005 3.4.1 7425
    • Inline Edit Search Detail View
    • Browser Performance Testing
    • “ Measuring the perceived performance of specific interactions for a single user ”
    • “ Measuring the perceived performance of specific interactions for a single user ”
    • JavaScript Timeline
    • 1995 Classical JavaScript
    • Just text by itself, for impact.
    • “Why do we split everything into so many files?” “Performance.”
    • “Why do we merge all the files into large batches?” “Performance.”
    • “Why...” “Performance!”
    • “ Show me the numbers! NOT JACKY CHAN ”
    • “ If we have data, let’s look at data. If all we have are opinions, let’s go with mine. JIM BARKSDALE ”
    • Performance has many enemies
    • The Mobile Web EVERYTHING IS THE SAME BUT WORSE • network / radio power mode steps, sleep, etc. • cpu / battery impact • memory • standards compliance • tooling
    • NETWORK TIME
    • PARSE TIME
    • JavaScript Execution • JS Engines • native bind(), map() etc • V8: hidden classes, arrays, gc • DOM Manipulation • events • JQuery • Sizzle selectors • Memory leaks
    • BLOCKING <SCRIPT SRC=”WTF.JS”>
    • Tools Chrome DevTools, Chrome WTF Firebug Lite dynaTrace
    • Reflow
    • Yes! Will It Reflow? inspired by @stoyanstefanov
    • But wait, there’s more! • CSS Transforms • Hardware acceleration? • Data weight • Concurrent request count • Inline Base64 Encoded resources
    • Designing the JIRA Browser Performance Test Suite
    • Automated JIRA Browser Performance Tests Baselines Vigilance Koto Psycho OnDemand Charts Events Analytics Hacking Page Objects Soke Bamboo Framework Plugin DB
    • Soke Interactions • Define Timed Sections • Number of Repetitions • Personas Mad Props to Atlassian PerfEng Team
    • Soke Interactions In Scala
    • Optimization Techniques • Batching • Atlassian Plugins, No Worries • Predictive Fetching • Guided by Analytics • Caching • Watch for memory leaks
    • “ ” I don’t know... it just feels slow. A JIRA PRODUCT MANAGER
    • Perception is Reality
    • Psycho Latency • Ready for Action • When does the User believe the app is waiting for her? • Manual “psycho” event placement • and maintenance! • Yardstick tuning against a real system • Optimization Example: Execution Reordering
    • Gotchas
    • click( )
    • Selenium / Webdriver • Chromedriver implemented by Chromium team • mouse click on geometric centre of target • W3C Webdriver wire protocol draft • OK Browsers, follow the standard!
    • Selenium / Webdriver • Windows and IE process control • Browser auto-upgrades • Changing what you measure • Prefetch cache benefit in JIRA 6.0
    • Takeaway tweets: • Performance has many enemies • Be holistic, be quantitative, beware the microoptimization trap • Perception is Reality • The price of performance is eternal vigilance #atlassiansummit
    • Thank you! CHRIS MOUNTFORD • SENIOR DEVELOPER, JIRA • ATLASSIAN • @CHROMOSUNDRIFT
    • Rate this Talk Show Me the Numbers: Automated Browser Text code below to 22333 or visit http://bit.ly/197mpCa MEH = 45 NO T BA D = 46 P R ET T Y GO O D = 47 A WES O ME = 48 To join this session, send text 136888 to