1 / 16

Performancebury Tales

Performancebury Tales. Sisyphus. Performance is hard. Sisyphus. You cannot stop. Sisyphus. ..but. Sisyphus. It’s NOT useless. Samsara. Samsara. Non-synchronized access to shared System.Collections.Hashtable System.Collections.Generic.Dictionary <>

Download Presentation

Performancebury Tales

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Performancebury Tales

  2. Sisyphus Performance is hard

  3. Sisyphus You cannot stop

  4. Sisyphus ..but..

  5. Sisyphus It’s NOT useless

  6. Samsara

  7. Samsara Non-synchronized access to shared • System.Collections.Hashtable • System.Collections.Generic.Dictionary<> • System.Collections.Generic.Hashset<>

  8. Samsara The Noble Eightfold Path • Do not forget to lock shared hastables! • Do not forget to lock shared hastables! • Do not forget to lock shared hastables! • Do not forget to lock shared hastables! • Do not forget to lock shared hastables! • Do not forget to lock shared hastables! • Do not forget to lock shared hastables! • Do not forget to lock shared hastables!

  9. Lernaean Hydra

  10. Lernaean Hydra System.Diagnostics.Debug

  11. The 300 Spartans

  12. The 300 Spartans Outbound connections

  13. Narcissus

  14. Narcissus Compiled expressions

  15. Narcissus Enum.ToString() can be 85% faster How to implement QuickToString: http://der-waldgeist.blogspot.com/2010/08/3-enumtostring.html

  16. Ask me! • Alexey Nedilko • alexey_nedilko@epam.com • skype:alexey.nedilko

More Related