LINQ to SQL: Learning to Crawl


Rico Mariani, our performance expert amongst other things, has a blog post detailing worst case peformance shown by LINQ to SQL in last May’s CTP. You can see for yourself that performance really sucked. 🙂 Fortunately, that was the prototype and lots of low-hanging-fruit have been plucked since then. He’s got a series of posts planned so I won’t spoil them by revealing the end result now, even though it was my hand optimizing the code.

Comments (6)

  1. Roller says:

    Rico Mariani, our performance expert amongst other things, has a blog post detailing worst case peformance

  2. rogerj says:

    Matt,

    I’m getting "worster-case" results with VS 2008 Beta 1 than Rico did with the May 2006 CTP. See http://oakleafblog.blogspot.com/2007/06/rico-mariani-starts-linq-to-sql.html.

    Looking forward to Beta 2.

    –rj

  3. Major improvements coming. 🙂

  4. So after getting some high level times I started digging into the particulars of the costs more broadly

  5. Could you confirm that those times will get thinner?

    Hope so, what is spectacular is how you can write the same code with linq with less lines!

  6. The difference between original CTP and actual Beta 2 is huge. I’m just not saying the numbers because Rico wants to lead up to it.