Re: [Simple-support] android performance
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2012-12-06 10:03:30
|
Try 2.6.9 it has a number of improvements. On Android Simple should be using XmlPull, this has a similar performance profile to StAX only its more lightweight. You should also try to use the Proguard obfuscation, it improves the performance. ttps://niallg@simple.svn.sourceforge.net/svnroot/simple/trunk/download/stream/proguard.pro If you still notice bad performance or inconsistent times you will need to profile, perhaps there is some I/O bottle neck. Try serialize to a byte array output stream or a StringWriter and check out the times. --- On Mon, 19/11/12, stephen toner <ste...@gm...> wrote: > From: stephen toner <ste...@gm...> > Subject: [Simple-support] android performance > To: sim...@li... > Received: Monday, 19 November, 2012, 1:22 AM > Hi,I'm having some difficulty > deserializing some xml on Android - (it's about 100KB) > and I've found that whilst occasionally it deserializes > in a second or so - it very often takes 15-20 seconds. I > was wondering if anyone else has seen this issue (I'm > using the 2.6.7). > I was trying digging around - and as far as I can see > on Android internally it only uses DOM? Is this correct? > Should I be also adding the STax jars to my > project?ThanksStephen > > -----Inline Attachment Follows----- > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. > Free Trial > Remotely access PCs and mobile devices and provide instant > support > Improve your efficiency, and focus on delivering more > value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > -----Inline Attachment Follows----- > > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > |