Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Profiling shows 700 ish millisecond delays
Profiling shows 700 ish millisecond delays [message #53766] Mon, 13 February 2006 23:15 Go to next message
David Read is currently offline David Read
Messages: 35
Registered: July 2009
Member
Hi,
Trying out the profiling on an Eclipse plug in, and getting some delays of 650 to 800ms that I cannot see the reason for. So then I tried the Jobs example (org.eclipse.ui.examples.jobs), clicked on 'busyCursorWhile' and looked at the results. The same delays appear.
The example sits in a loop sleeping for 15ms and reporting progress, but every so often, a method will take about 700ms, even though the 'Cumulative time' shows only say 200ns.
There are only two threads shown, main and ModalContext, and nothing is going on in the other thread while the delay occurs. Is there a way to find out what the processor is doing in this time, and has anyone else noticed this?

This is on Windows XP, profiling 'Eclipse Application', and collecting execution time with graphical analysis, and a filter of org.eclipse.ui.examples.jobs*

Regards
David Read.
Re: Profiling shows 700 ish millisecond delays [message #53793 is a reply to message #53766] Wed, 15 February 2006 16:36 Go to previous messageGo to next message
Valentina Popescu is currently offline Valentina Popescu
Messages: 23
Registered: July 2009
Junior Member
Do you run your application using the Remote Agent Controller service? To
verify this, open Task Manager and look for RAServer.exe

"David Read" <DavidRead@gmx.net> wrote in message
news:dsr3u5$tte$1@utils.eclipse.org...
> Hi,
> Trying out the profiling on an Eclipse plug in, and getting some delays of
650 to 800ms that I cannot see the reason for. So then I tried the Jobs
example (org.eclipse.ui.examples.jobs), clicked on 'busyCursorWhile' and
looked at the results. The same delays appear.
> The example sits in a loop sleeping for 15ms and reporting progress, but
every so often, a method will take about 700ms, even though the 'Cumulative
time' shows only say 200ns.
> There are only two threads shown, main and ModalContext, and nothing is
going on in the other thread while the delay occurs. Is there a way to find
out what the processor is doing in this time, and has anyone else noticed
this?
>
> This is on Windows XP, profiling 'Eclipse Application', and collecting
execution time with graphical analysis, and a filter of
org.eclipse.ui.examples.jobs*
>
> Regards
> David Read.
Re: Profiling shows 700 ish millisecond delays [message #53871 is a reply to message #53793] Wed, 15 February 2006 19:35 Go to previous messageGo to next message
David Read is currently offline David Read
Messages: 35
Registered: July 2009
Member
No, it's running with the Local Direct Connection. I do have both the old and new Agent controller installed on the machine, but neither are running at the time.

Can I mail you the results file? It's 278K so I'm not sure if that appropriate for the newsgroup.



Valentina Popescu wrote:
> Do you run your application using the Remote Agent Controller service? To
> verify this, open Task Manager and look for RAServer.exe
>
> "David Read" <DavidRead@gmx.net> wrote in message
> news:dsr3u5$tte$1@utils.eclipse.org...
>
>>Hi,
>>Trying out the profiling on an Eclipse plug in, and getting some delays of
>
> 650 to 800ms that I cannot see the reason for. So then I tried the Jobs
> example (org.eclipse.ui.examples.jobs), clicked on 'busyCursorWhile' and
> looked at the results. The same delays appear.
>
>>The example sits in a loop sleeping for 15ms and reporting progress, but
>
> every so often, a method will take about 700ms, even though the 'Cumulative
> time' shows only say 200ns.
>
>>There are only two threads shown, main and ModalContext, and nothing is
>
> going on in the other thread while the delay occurs. Is there a way to find
> out what the processor is doing in this time, and has anyone else noticed
> this?
>
>>This is on Windows XP, profiling 'Eclipse Application', and collecting
>
> execution time with graphical analysis, and a filter of
> org.eclipse.ui.examples.jobs*
>
>>Regards
>>David Read.
>
>
>
Re: Profiling shows 700 ish millisecond delays [message #53973 is a reply to message #53871] Sat, 18 February 2006 15:33 Go to previous message
David Read is currently offline David Read
Messages: 35
Registered: July 2009
Member
Does anyone have any observations on this?

I have tried doing the same test on another computer (Windows XP Pro), and it clearly shows the same behaviour - with the program alternating between running for 3/4 of a second, and pausing for 3/4. You can see the pauses on the progress monitor bar, whereas running without profiling, the progress is smooth. Perhaps it is something to do with the UI, but I would like to know where the time is going.


David Read wrote:
> No, it's running with the Local Direct Connection. I do have both the
> old and new Agent controller installed on the machine, but neither are
> running at the time.
>
> Can I mail you the results file? It's 278K so I'm not sure if that
> appropriate for the newsgroup.
>
>
>
> Valentina Popescu wrote:
>
>> Do you run your application using the Remote Agent Controller service? To
>> verify this, open Task Manager and look for RAServer.exe
>>
>> "David Read" <DavidRead@gmx.net> wrote in message
>> news:dsr3u5$tte$1@utils.eclipse.org...
>>
>>> Hi,
>>> Trying out the profiling on an Eclipse plug in, and getting some
>>> delays of
>>
>>
>> 650 to 800ms that I cannot see the reason for. So then I tried the Jobs
>> example (org.eclipse.ui.examples.jobs), clicked on 'busyCursorWhile' and
>> looked at the results. The same delays appear.
>>
>>> The example sits in a loop sleeping for 15ms and reporting progress, but
>>
>>
>> every so often, a method will take about 700ms, even though the
>> 'Cumulative
>> time' shows only say 200ns.
>>
>>> There are only two threads shown, main and ModalContext, and nothing is
>>
>>
>> going on in the other thread while the delay occurs. Is there a way to
>> find
>> out what the processor is doing in this time, and has anyone else noticed
>> this?
>>
>>> This is on Windows XP, profiling 'Eclipse Application', and collecting
>>
>>
>> execution time with graphical analysis, and a filter of
>> org.eclipse.ui.examples.jobs*
>>
>>> Regards
>>> David Read.
>>
>>
>>
>>
Previous Topic:installing tptp
Next Topic:TPTP AGR - How to Configure application for Testing ?
Goto Forum:
  


Current Time: Thu Oct 23 11:10:51 GMT 2014

Powered by FUDForum. Page generated in 0.02517 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software