FransBouma/RawDataAccessBencher — pull request #5 by amirrajan (2013-12-11 18:13:51+00:00)
Title: Updates for dynamic ORMs

Here we go! Frans. I can't thank you enough for that insight. Converting literally 2 lines of code had a significant increase.

Here is what I have:

1. I've included a bench mark for as close to the DLR as I could possibly get. The "typeless dynamic object" is a raw dictionary that reads straight from the data reader. This probably as fast as you can expect a dynamic object plus the DLR.

2. The next one is a typed dynamic class, without change tracking.

3. The final one is what I originally submitted (unaltered), but with the performance bottle neck that you found. Thanks again for the help. You didn't have to do that, and you didn't have to spend the time you've already spent. So it truly is appreciated (yay OSS).

I still think the stopwatch should be after the enumeration for these dynamic objects. It's important to show what kind of overhead the DLR adds.