Your SlideShare is downloading. ×
  • Like
Msdn   optimizando la performance en la web
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Msdn optimizando la performance en la web

  • 710 views
Published

 

Published in Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
710
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
1
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
  • Enviar info de compiled linq query para EF.
  • Enviar info de compiled linq query para EF.

Transcript

  • 1. Optimizando la Performance en la Web http://blogs.msdn.com/aiturralde
  • 2. Agenda• ¿Por qué es importante el rendimiento?• Desafíos comunes de rendimiento• Analizando problemas de rendimiento• Tácticas para Mejorar el Rendimiento
  • 3. http://blog.kissmetrics.com/loading-time/
  • 4. − No son problemas exclusivos de ASP .NET
  • 5. Región Average Round-Trip Time (ms) Average Packet Loss (%)Africa 469 3.70Australia 204 0.23Balkans 202 0.74Central Asia 597 1.24East Asia 192 0.68Europa 178 0.48Latin America 270 1.15Middle East 279 0.87North America 59 0.09Russia 243 2.48South Asia 424 1.89South East Asia 254 0.03
  • 6. HTML Recurso de la páginaArchivos Tiempo
  • 7. − Mal patrón de asignación− Leaks de memoria
  • 8. http://www.fiddler2.comhttp://bit.ly/JF3osxhttp://bit.ly/JvrrGz
  • 9. http://bit.ly/L9MGirhttp://bit.ly/vZldlThttp://bit.ly/JeocF5http://bit.ly/H8ntr0
  • 10. SELECT P.FirstName, P.LastName,SC.AccountNumber, SC.ModifiedDateFROM Sales.Customer AS SCJOIN Person.Person PON SC.PersonID =P.BusinessEntityIDWHERE P.LastName in (Adams)ORDER BY P.LastName, P.FirstName ;
  • 11. Query 1 Se compila y se almacena en el cacheSelect * from Person.Address where AddressID in(1, 2)Query 2 Se compila y se almacena en el cacheSelect * from Person.Address where AddressID in(2, 1)Query 3 Se reutilizaSelect * from Person.Address where AddressID in(1, 2)
  • 12. SELECT qs.sql_handle, qs.statement_start_offset,qs.statement_end_offset, qs.creation_time, qs.last_execution_time,SUBSTRING(qt.text,qs.statement_start_offset/2+1, (CASE WHEN qs.statement_end_offset = -1 THEN LEN(CONVERT(nvarchar(max), qt.text)) * 2 ELSE qs.statement_end_offset end - qs.statement_start_offset )/2 ) AS query_text FROM sys.dm_exec_query_stats qs CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) qt
  • 13. dbcc freesystemcache(all)