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:
- Launch URL in Default Browser using C#
- Get the list of ODBC data source names programatically using C#
- How to back up windows with Bacula
- C# Download File with Progress Bar
- Windows Server 2003 Configure RRAS (Routing and Remote Access Service) Site to Site VPN
- Clustered Index vs. Non-Clustered Index in SQL Server

Recent comments
14 hours 45 min ago
1 day 14 hours ago
3 days 15 hours ago
4 days 5 hours ago
4 days 15 hours ago
4 days 21 hours ago
5 days 1 hour ago
1 week 22 hours ago
1 week 1 day ago
1 week 4 days ago