Top free tools for tackling
ASP.NET Performance
Ben Emmett – KCDC – 16 May 2014
Titanium Sponsors
Platinum Sponsors
Gold Sponsors
A simple page
DNS
Init
Client wait
Server processing
Receive
Layout / render
Req html
Go Finished!
<html>
<head>
<title>A ...
A stylish page
DNS
Init
Client wait
Server processing
Receive
Layout / render
Req html
Go Finished!
Req css
body {
backgro...
A responsive page
DNS
Init
Client wait
Server processing
<html>
<head>
<title>A web page</title>
<script src=“/responsive....
It’s slower than that
Client Server
Retrieve a 35kb file
Round trip # Purpose Data received Running total
1 TCP handshake -- 0kb
2 Receive 1st chunk 2kb 2kb
3...
Where are the bottlenecks?
• Latency
• Bandwidth
• Server processing
• Rendering
And when do they matter?
#1
www.getglimpse.com
Disclaimer
#2
http://www.brentozar.com/blitzindex/
sp_BlitzIndex
#3
www.webpagetest.org
#4
chromecanary
www.google.co.uk/intl/en/chrome/browser/canary.html
#5
PageSpeed
developers.google.com/speed/pagespeed
Some bonus super-easy wins 
Use a CDN:
Provided by Google
Provided by Microsoft
Optimize images:
Image Optimizer Visual S...
Wrapping up
• Make sure you’re getting the easy wins
• Always have half an eye on performance
• No premature optimization!
ben.emmett@red-gate.com
@bcemmett
slideshare.net/benemmett
Upcoming SlideShare
Loading in …5
×

KCDC - top free ASP.NET performance tools

403 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
403
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

KCDC - top free ASP.NET performance tools

  1. 1. Top free tools for tackling ASP.NET Performance Ben Emmett – KCDC – 16 May 2014
  2. 2. Titanium Sponsors Platinum Sponsors Gold Sponsors
  3. 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. 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. 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. 6. It’s slower than that Client Server
  7. 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. 8. Where are the bottlenecks? • Latency • Bandwidth • Server processing • Rendering And when do they matter?
  9. 9. #1 www.getglimpse.com Disclaimer
  10. 10. #2 http://www.brentozar.com/blitzindex/ sp_BlitzIndex
  11. 11. #3 www.webpagetest.org
  12. 12. #4 chromecanary www.google.co.uk/intl/en/chrome/browser/canary.html
  13. 13. #5 PageSpeed developers.google.com/speed/pagespeed
  14. 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. 15. Wrapping up • Make sure you’re getting the easy wins • Always have half an eye on performance • No premature optimization!
  16. 16. ben.emmett@red-gate.com @bcemmett slideshare.net/benemmett

×