DataSet Read/WriteXml Performance issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!!!

I have a small dataset that i write to a .xml file.
The file is only 400bytes.

when i start the application and do a ds.ReadXml on the file, it takes 4
seconds.
Is it supposed to take this long ?
 
It takes a while (about 3-4 seconds) to JIT DataSet and XML code which is
rather big.
So, no matter how small your file is, it would take about 3-4 seconds to
load it the first time.
Second pass should be below 1 second for small files.

For bigger files, install SP2 (or 3 as soon as available) to improve
ReadXml() performance and use schema.
You can expect 1MB XML loaded in about 30 seconds on PXA255-400MHz and PPC
2003 device.

Best regards,

Ilya


This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 
Back
Top