testing drupal site performance across browsers, geographies and networks

28
Testing Drupal Site Performance Across Browsers, Geographies and Networks Bob Buffone CTO and Co-founder Yottaa, Inc. Jess Iandiorio Sr. Director, Cloud Product Marketing Acquia

Upload: acquia

Post on 01-Nov-2014

1.882 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Testing Drupal Site Performance Across Browsers, Geographies and Networks

 Testing Drupal Site Performance Across Browsers, Geographies and Networks

Bob BuffoneCTO and Co-founderYottaa, Inc.

Jess IandiorioSr. Director, Cloud Product MarketingAcquia

Page 2: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Acquia Network Support

One singular support service

Answers from 60+ experts

For both Drupal and Infrastructure issues

Page 3: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Acquia Network Knowledgebase

Help & How to Articles

300+ hours of Drupal training videos

And many more resources

Page 4: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Acquia Network Tools & Services

Integrated cloud tools that enhance and extend

your site

Page 5: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Yottaa Inc. http://www.yottaa.com

Measuring your website in different ways!!!

June 13th, 2012

Page 6: Testing Drupal Site Performance Across Browsers, Geographies and Networks

66

Agenda

• The Web… Its complicated• Things that make a website slow• Human factors of web performance• How can you make your website faster?• Tweet

– @rockstarapps– @yottaa

Page 7: Testing Drupal Site Performance Across Browsers, Geographies and Networks

WHY MEASURE IT?

© 2011 Yottaa Inc. All Rights Reserved. 7

Page 8: Testing Drupal Site Performance Across Browsers, Geographies and Networks

In between your visitors and you

8

100+ factors…

Page 9: Testing Drupal Site Performance Across Browsers, Geographies and Networks

websitetest.com

9

Page 10: Testing Drupal Site Performance Across Browsers, Geographies and Networks

http://content.foxsearchlight.com/inside

10

Page 11: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Variability in Locations

11

Page 12: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Variability in Connectivity

12

Connectivity makes a big difference. Think about your experience on your phone compared to your office.

Page 13: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Variability in Browser

13

Browser differences can create surprising differences • Connection Management • JavaScript Engines• Rendering Speed

Page 14: Testing Drupal Site Performance Across Browsers, Geographies and Networks

THINGS THAT MAKE YOUR WEBSITE SLOW

© 2011 Yottaa Inc. All Rights Reserved. 14

Page 15: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Lots of Requests

• Product owners want rich websites– Rich in User Experience– Rich in Visual Presentation

• Achieving richness requires more resources to be downloaded to the client– CSS– HTML– JavaScript– Images

15

Page 16: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Content Breakdown

16

http://www.websitetest.com/ui/samples/4fd7e310cacea0731000019c#visualizations

Page 17: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Large Resources

• Many of the resources that you need to load can be made fatter than required– HTML, CSS, JavaScript – Add lots of

comments and white space– Images

• Use images that are larger than displayed on the webpage

• Always use the highest quality settings

• Turn off gzip compression on your server

17

Page 18: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Large assets take longer to download

18

Page 19: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Large assets take longer to download

19

776KB

Page 20: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Bad Servers

• There are many things that can make your servers slow– Poorly written code– Bad database design– Sharing a server with others– Old Servers– Not enough memory– Slow hard drives

20

Page 21: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Large assets take longer to download

21

Page 22: Testing Drupal Site Performance Across Browsers, Geographies and Networks

3rd Party Plugins

• Bloggers love to make their websites slow using plugins.– Twitter, Facebook, Google Plus, LinkedIn– Photo plugins…

• Not utilizing asynchronous loading of 3rd party resources.

22

Page 23: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Marketing Loves Social

23

Social adds LOTS of resources -> 86 JavaScript, images and CSS.

Page 24: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Other things you can do

• Redirect from www to non-www using client-side– Use a 301 redirection instead of 302

• 404s – usually take longer• Run JavaScript code while your page is loading.• Only look at how fast your site is from your desktop• Think your website is fast enough• Do not test your websites performance• Think your developers would never do any of these

things

24

Page 25: Testing Drupal Site Performance Across Browsers, Geographies and Networks

HUMAN FACTORS

© 2011 Yottaa Inc. All Rights Reserved. 25

Page 26: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Human Factors

• Desire for Social • Desire to increase functionality• Lack of understanding about the impact of performance

on the business• Lack of understanding about what makes a website slow

or fast• Lack of the ability to determine if there is a problem• Lack of time to test and fix issues

26

Page 27: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Bob (Buffone)

CTO/Co-founder

www.yottaa.com

27

Thank you for your time

Page 28: Testing Drupal Site Performance Across Browsers, Geographies and Networks

Questions• For more information visit: http://www.acquia.com

• Contact us: [email protected] or 888.9.ACQUIA

• Follow us: @acquia

• Comments welcome:• [email protected]

Today’s webinar recording will be posted to:http://acquia.com/resources/recorded_webinars