Visual Studio .NET 2003, .NET Framework 1.1
XML file size 300K 1 MB 2 MB 5 MB 10 MB 20 MB
Load time (seconds) 0.494 0.453 0.906 2.543 4.969 7.897
RAM used (K) 1,320 16,577 31,928 64,240 120,532 174,860
XML file size (K) 199 1,055 2,109 5,294 10,587 21,171
RAM/file size ratio 6.633 15.712 15.138 12.134 11.384 8.259
 
Visual Studio .NET 2005 Community Technical Preview, .NET Framework 2.0
XML file size 300K 1 MB 2 MB 5 MB 10 MB 20 MB
Load time (seconds) 0.568 0.438 0.892 2.378 4.896 9.47
RAM used (K) 696 13,244 27,844 51,376 65,672 117,520
XML file size (K) 199 1,055 2,109 5,294 10,587 21,171
RAM/file size ratio 3.497 12.553 13.202 9.704 6.203 5.550

Table 1 Compare DataSet Loading Time and Program Memory Footprint
This data on loading times and executable RAM requirements for local XML DataSet files of varying sizes was compiled from tests on a Dell PowerEdge 400SC with a 2.26 MHz Pentium 4 processor and an Ultra ATA disk drive that runs under Windows XP SP-1. Loading DataSets with a SqlDataAdapter and saving the XML file is a much faster process—about one and a half seconds for the 25,000 customer records on a 100 MBps LAN—than creating a DataSet from the local XML file.