SAF(NET) = STEPHEN A. FUQUA operating on the Web since 1995

Stephen is a web developer, Bahá'í, and interfaith activist in St. Paul, Minnesota. He likes to write about religion, social justice, sustainability, science, programming, &c.

June 25, 2007

An Exercise in Performance Tuning in C#.Net

Problem: Your application is slow. Horribly slow. And that just isn't acceptable.

I had a real world problem with an application that needs to process an input file, performing various calculations on pieces of data in each line. When complete the app has to recreate the input file with calculation results inserted. Goal: 3-4 minutes for a particular base line file size. Initial version ran in 2 hours. Clearly there's a problem here. So I started wracking my brain for everything I'd ever read or learned about performance, and more importantly did a lot of careful searching on the 'net.

Result: down to 5.5 minutes. Still not quite there, but to say "substantial improvement" is quite the understatement. I'll be posting a series of articles on the resources and methods used to achieve this huge jump.

  1. Performance #1 and #2: Clean Client / Server Interaction

deprecated

On safnet.com

Other sites managed or developed by S.A.F.

S.A.F. elsewhere on the web

  • LinkedIn
    LinkedIn can actually be useful when looking for prospective hires and business or organizational partners
  • GoodReads
    A fun and relatively-unknown social networking site geared towards one's book list
  • Live Journal
    Mirror of the blog at safnet.com, so that a few LJ friends can more easily read and comment there