Re: [Simple-support] Performance issues on android
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2012-08-06 12:18:42
|
Let me know how you go with 2.6.6, I have not yet had any feedback on it. So, other than my own experiences with my XML parsing on Android I really have no idea how its been working for other people. But it should be much faster, and 2.6.7 should be faster again when I release it. --- On Mon, 6/8/12, Niall Gallagher <gal...@ya...> wrote: From: Niall Gallagher <gal...@ya...> Subject: Re: [Simple-support] Performance issues on android To: "simple-support" <sim...@li...>, "Jean-Michel" <int...@gm...> Received: Monday, 6 August, 2012, 5:13 AM What version of Simple, 2.6.6 has some big perf improvements, and the next release should also have. I had a 10 times increase from 2.6.5 to 2.6.6. Also there is a proguard file which improves the performance by another reasonable amount. --- On Mon, 6/8/12, Jean-Michel <int...@gm...> wrote: From: Jean-Michel <int...@gm...> Subject: [Simple-support] Performance issues on android To: "simple-support" <sim...@li...> Received: Monday, 6 August, 2012, 1:11 AM Hello, Simple has the greatest API ever for parsing xml files, thanks a lot !Sadly, it's a bit slow on Android for me :on a Samsung Galaxy S, the user has to wait 8 seconds before the parsing of the scenario (see attached file with 367 lines which will serialize into 56 java objects) finishes. The complete project is avaible here :http://dl.dropbox.com/u/16861689/simple3.zip Here is the substance of it : @Rootpublic class ScenarioDataSet { @ElementListUnion({ @ElementList(entry="SMTPScenario", type=SMTPScenario.class, inline=true), @ElementList(entry="PINGScenario", type=PINGScenario.class, inline=true), @ElementList(entry="DLScenario", type=DLScenario.class, inline=true), @ElementList(entry="HTTPScenario", type=HTTPScenario.class, inline=true), @ElementList(entry="POPScenario", type=POPScenario.class, inline=true), @ElementList(entry="Settings", type=Settings.class, inline=true), @ElementList(entry="ScenarioTable", type=ScenarioTable.class, inline=true), @ElementList(entry="ProcessScenario", type=ProcessScenario.class, inline=true), @ElementList(entry="RAS_APN", type=RAS_APN.class, inline=true), @ElementList(entry="NDIS_APN", type=NDIS_APN.class, inline=true), @ElementList(entry="DataTableGroupe", type=DataTableGroupe.class, inline=true), @ElementList(entry="DataTableCommand", type=DataTableCommand.class, inline=true) }) public List<Object> list; } Are they tricks to do better ? Jean-Michel -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |