rickgaribay.net

Space shuttles aren't built for rocket scientists, they're built for astronauts. The goal isn't the ship, its the moon.
posts - 303, comments - 180, trackbacks - 35

My Links

News

Where's Rick?


AgileAlliance deliver:Agile 2019- 4/29
Desert Code Camp, PHX - 10/11
VS Live Austin, TX - 6/3
VS Live SF - 6/17


About Me
Hands on leader, developer, architect specializing in the design and delivery of distributed systems in lean, agile environments with an emphasis in continuous improvement across people, process and technology. Speaker and published author with 18 years' experience leading the delivery of large and/or complex, high-impact distributed solutions in Retail, Intelligent Transportation, and Gaming & Hospitality.

I'm currently a Principal Engineer at Amazon, within the North America Consumer organization leading our global listings strategy that enable bulk and non-bulk listing experiences for our WW Selling Partners via apps, devices and APIs.

Full bio

Note: All postings on this site are my own and don’t necessarily represent the views of my employer.



Check out my publications on Amazon Kindle!





Archives

Post Categories

Published Works

ADO.NET 2.0

ADO.NET 2.0 brings with it some significant performance improvements. I recently heard Mark Dunn on .NET Rocks (an internet radio show that discusses all things .NET) discuss the tremendous speed improvement in filling an ADO.NET 2.0 DataTable.

According to Mark, filling a DataTable with 100,000 rows of data (which I have never attempted) takes approx 3 minutes in ADO.NET 1.1. Running the same exact code in ADO.NET 2.0 now takes around 3 seconds. That is over a 98% improvement! Transalation, what used to take a significant amount of time now takes almost no time in comparison.

Let's do the math:

3 mins = 180 seconds

180 seconds - 3 seconds = 177 seconds

177 seconds/180 seconds = 98.3%

I am going to setup a benchmark according to Mark's rough specs. I will write code to loop through and insert 100,000 records containing a static string of “Record” and adding the index of the current iteration (i.e. Record 0; Record 1...Record 999). I will trace the time before I enter the loop and immediately after.

Then I will compile and run the code using the 1.1 compiler and do the same using the latest Beta 2.0 compiler and post the results here.

Stay tuned.

Print | posted on Sunday, February 06, 2005 1:28 PM |

Comments have been closed on this topic.

Powered by: