Why is DataTable faster than DataReader
I see three issues: the way you use a DataReader negates it’s big single-item-in-memory advantage by converting it to list, you’re running the benchmark in an environment that differs significantly from production in a way that favors the DataTable, and you’re spending time converting DataReader record to Artifact objects that is not duplicated in the … Read more