Re: [Simple-support] Android performance - strange profiling
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2012-01-14 00:54:37
|
Hi, Ill take a look at this. It seems very strange that it would spend 44% of its time on this method. Perhaps the profiler you are using is a sampling profiler, and it simply has not got enough samples to determine where the time is being lost accurately. At any rate I will look in to it. The problem I have had with profiling is that Simple uses a lot of recursive algorithms, so profiling by method visits etc is not very useful. I will try to write some tests to profile individual non-recursive parts separately, perhaps there are some gains to be made, likely with reflection I would think, but also with how the schema is constructed and used internally. Thanks, Niall ________________________________ From: Rangel Reale <ran...@gm...> To: sim...@li... Sent: Tuesday, 10 January 2012 5:00 AM Subject: [Simple-support] Android performance - strange profiling Hello, I am having performance issues in Android parsing a very large XML file. Profiling trying to find where the bottleneck is, if I undestood correctly, the application is 44% of the time in the function "KXmlParser.getLineNumber", called from PullReader$Start.<init>, but looking at its source code it seems to only read an instance variable an nothing more. Can someone shed a light on this? I don't know it posting images is allowed here, so I uplodaded to an image sharing site: http://imgur.com/C5ocm Thanks, Rangel ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |