flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Konovalov <oleg...@gmail.com>
Subject Re: Profiling Flex/Java Web App
Date Fri, 10 Apr 2015 18:03:15 GMT
I don't think that is the issue.

I tried profiling simple application (showing a graph with few nodes, using
RaVis library - sample of what we have on one screen),
and got exactly the same error popup "No activity happened in the past 60
after connection was established with the application"  and only after that
app came up.

Is there anything I need to do to configure FB Profiler to run it?
(i haven't done that in Flex before....)

On Thu, Apr 9, 2015 at 3:46 PM, Alex Harui <aharui@adobe.com> wrote:

> On 4/9/15, 8:59 AM, "Oleg Konovalov" <olegkon@gmail.com> wrote:
> >Alex,
> >
> >That profiler problem happens much before I reach my heavy duty popup with
> >many children,
> >on initial screen.
> >We are making calls to about 30 Stored Procs to get proper permissions and
> >load static data.
> >(can probably turn off some of them and only use data relevant to screen
> >with popup we need,although it might take time to investigate).
> >
> >As I said, Debugger is running fine, no timeouts whatsoever.
> >
> >Is Profiler more demanding than Debugger?
> Yes, the profiler is logging data for every line of code and every memory
> allocation.  So if there is too much work to get the app up and running
> you can have this sort of problem.
> I’ve never actually dealt with this situation myself.  IMO, it is an
> indicator that you could refactor the app and defer some of the work and
> see faster startup time and allow the profiler to do its thing.
> One thing you could try is to call pauseSampling() in a preinitialize
> handler in the app.  That might shutdown the logging and allow the app to
> start up faster.  Then call startSampling at the right moment to start
> collecting the data you need.  Here’s the doc:
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/sa
> mpler/package.html#pauseSampling()
> -Alex

Thank you,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message