Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Desktop Developer

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

Search

XML Feeds

Google Ads

Tags: dottrace

comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

Today I finaly had some time to sacrifice to finding why my application was slow at startup (around 30 seconds). So I opened up JetBrains's dotTrace and went to work. In less then half an hour I shaved at least 10 seconds of the startup time.

So here is the first profiler screenshot.

Here we can see that the main method takes 20 seconds to run and that resolve<T> takes the most time.

Now lets drill down and see if we can find one that takes up most of that time.

As we can see FindAllPimsCases lin LoadList takes up 9 seconds of my time and it's not even needed (it's a connection with a very slow Oracle database). So I delete it.

And the result is above. Main now takes 11 seconds to run. Which is acceptable for now.

About the Author

User bio imageChristiaan is a forensic technician who programs on the side, although my function description says that I do IT-things for 90% of the time . I'm an avid VB.NET fan and I use lots of the ALT.Net techniques, like unit-testing, nhibernate, logging, IoC, ...
Social SitingsTwitterLinkedInHomePageLTD RSS Feed
626 views
submit to reddit Digg!FacebookDotnetkicks

Comments and Feedback