Performance issues

  • Thread starter Thread starter Chakra
  • Start date Start date
C

Chakra

One of our customers is trying to migrate from Appforge framework to .NET
CF. Their earlier application saves data like a flash, whereas the same
using Win-CE (developed by us) takes 60 times more. What is it that Appforge
has that .NET CF doesn't ? Or where could i be going wrong in my approach ?
We are saving the data to XML and then pushing it to the CE database, so
that the time is staggered a bit - otherwise it is even more frustrating for
the user.

regards,

Chak.
 
You give us no idea how the sae is occuring or what you're timing.

Is the time difference just the save, or is it the xml generation and save?
How are you saving? using a TextWriter? A FileStream?

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
 
We are converting a dataset to XML using the dataset.writexml , as a
temporary storage to lessen the time taken - this takes 6 seconds for 400
records. Later in the process, when the user (hopefully) has a little more
time, we are converting this XML back to a dataset and using adapter.update
to update to the Win-CE database, which takes 40 seconds for the same XML.
 
I know very little about Appforge so can you tell us if both
applications store in the same database, WinCE DB?

Have you thought of using SQLce?
 
You could try updating the 400 records into SQL CE directly with UPDATE
statements and see how long that takes - that will give you some idea of the
overhead of dataset object etc. I'm sure datasets were only ever intended
for use in the MS demos where you can magically build an app in 2 minutes :)
I've done ASP.NET development and some pocket pc development in .net and
have learnt the hard way to stay away.

What device are you using? I have been developing on an ipaq 1910 and on any
other device I've tested such as 1930, 4150 etc the SQL CE stuff runs at
least 4 to 8 times faster.

Why do you need to convert to xml? Is it a bulk update of some lookup info?
 
Back
Top