Re: [Simple-support] Android performance - strange profiling
Brought to you by:
niallg
|
From: Rangel R. <ran...@gm...> - 2012-01-14 02:30:03
|
Hmm I seem to have sent my response to a personal email, instead of the list. I tested this on other Android devices and the emulator, and this only seems to happen on my Galaxy Tab 10.1 with Honeycomb, on other targets this function does not use so much cycles. So it should be a honeycomb problem, this specific example. Thanks, Rangel On Fri, Jan 13, 2012 at 10:54 PM, Niall Gallagher <gal...@ya... > wrote: > 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 > > > |