Improving LINQ performance
Performance benchmarks for LINQ vs. SqlDataReader, DataSet - LINQ Compiled Queries: Part 2
Submitted by Ben Hodson on Thu, 05/01/2008 - 18:41
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:
Popular Articles
Last viewed:
- Performance benchmarks for LINQ vs. SqlDataReader, DataSet - LINQ Compiled Queries: Part 2
- Performance benchmarks for LINQ vs. SqlDataReader, DataSet - Selects: Part 1
- Using Nullable Data Types with C#
- ObjectDataSource TypeName with Constructor Parameters
- Export GridView or Other Data as Microsoft Excel (CSV) File with C#
- Fix for Firefox click() event issue

Recent comments
1 day 11 hours ago
5 days 3 hours ago
1 week 2 days ago
1 week 6 days ago
2 weeks 1 day ago
2 weeks 6 days ago
3 weeks 8 hours ago
3 weeks 11 hours ago
3 weeks 5 days ago
4 weeks 2 days ago