LINQ Performance
Performance benchmarks for LINQ vs. SqlDataReader, DataSet - LINQ Compiled Queries: Part 2
In my previous post (Performance benchmarks for LINQ vs. SqlDataReader, DataSet - Selects: Part 1 ), I ran queries using LINQ to SQL, SqlDataReader, and Strongly Typed DataSets to see how they compare in the real world. I found that LINQ is much slower than either the SqlDataReader (no surprise there) or the Strongly Typed DataSets (I actually expected the DataSet to run slower).
Links to other posts in this series:
Performance benchmarks for LINQ vs. SqlDataReader, DataSet - Selects: Part 1
I've been wondering about LINQ to SQL performance ever since I started using it a couple of months ago. All I've been hearing from MS is how well tuned the LINQ queries are and how performance is "comparable" to current data access methods. Of course, LINQ has never been billed as the utlra-best performance way to access a database available. What's really powerful about LINQ is the strongly typed objects, language query abilities, and the ease of use.
- Performance benchmarks for LINQ vs. SqlDataReader, DataSet - Selects: Part 1
Popular Articles
Last viewed:
- Tutorial for Configuring Silverlight 4, Entity Framework and WCF RIA Services in Separate Component Assemblies (DLL’s)
- C# Download File with Progress Bar
- Using Stored Procedures in the Entity Framework with Scalar Return Values
- Access Master Page properties from the content page
- Data Access Layer using SqlDataReader and C#
- Fix for Firefox click() event issue

Recent comments
13 hours 15 min ago
1 day 13 hours ago
3 days 14 hours ago
4 days 3 hours ago
4 days 14 hours ago
4 days 20 hours ago
4 days 23 hours ago
1 week 20 hours ago
1 week 1 day ago
1 week 4 days ago