Your SlideShare is downloading. ×
KCDC - top free ASP.NET performance tools
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

KCDC - top free ASP.NET performance tools

164
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
164
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Top free tools for tackling ASP.NET Performance Ben Emmett – KCDC – 16 May 2014
  • 2. Titanium Sponsors Platinum Sponsors Gold Sponsors
  • 3. A simple page DNS Init Client wait Server processing Receive Layout / render Req html Go Finished! <html> <head> <title>A web page</title> </head> <body> <p id=“greeting”> Hello Kansas! </p> </body> </html> index.html
  • 4. A stylish page DNS Init Client wait Server processing Receive Layout / render Req html Go Finished! Req css body { background-color : #123456; } p { font-weight : bold; } stylish.css<html> <head> <title>A web page</title> <link href=“/stylish.css” type=“text/css” /> </head> <body> <p id=“greeting”> Hello Kansas! </p> </body> </html> index.html
  • 5. A responsive page DNS Init Client wait Server processing <html> <head> <title>A web page</title> <script src=“/responsive.js” type=“text/javascript”></script> <link href=“/stylish.css” type=“text/css” /> </head> <body> <p id=“greeting”> Hello Kansas! </p> </body> </html> Receive Layout / render Req html Go Finished! body { background-color : #123456; } p { font-weight : bold; } index.html stylish.css Req js responsive.jsalertMessage = function() { alert("Hello!"); } document.getElementById("greeting").onClick = alertMessage; Req css
  • 6. It’s slower than that Client Server
  • 7. Retrieve a 35kb file Round trip # Purpose Data received Running total 1 TCP handshake -- 0kb 2 Receive 1st chunk 2kb 2kb 3 Receive 2nd chunk 4kb 6kb 4 Receive 3rd chunk 8kb 14kb 5 Receive 4th chunk 16kb 30kb 6 Receive 5th chunk 5kb 35kb
  • 8. Where are the bottlenecks? • Latency • Bandwidth • Server processing • Rendering And when do they matter?
  • 9. #1 www.getglimpse.com Disclaimer
  • 10. #2 http://www.brentozar.com/blitzindex/ sp_BlitzIndex
  • 11. #3 www.webpagetest.org
  • 12. #4 chromecanary www.google.co.uk/intl/en/chrome/browser/canary.html
  • 13. #5 PageSpeed developers.google.com/speed/pagespeed
  • 14. Some bonus super-easy wins  Use a CDN: Provided by Google Provided by Microsoft Optimize images: Image Optimizer Visual Studio extension Minimize & combine: Web Essentials Visual Studio extension
  • 15. Wrapping up • Make sure you’re getting the easy wins • Always have half an eye on performance • No premature optimization!
  • 16. ben.emmett@red-gate.com @bcemmett slideshare.net/benemmett