This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 89960 - Strange behaviour of LiveResults DrillDown with web application
Summary: Strange behaviour of LiveResults DrillDown with web application
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
: 89207 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-23 15:34 UTC by ehucka
Modified: 2007-02-02 14:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2006-11-23 15:34:05 UTC
profiler 061123

I profiled a web application inside ide, there were set root methods,
instrumented all classes. I made some action in the application.
The DrillDown shows there is about 72.1% in Web category and 27.9% in Project[*]
category. When I select the Project[*] category no method was displayed.

Another thing: during switching to Web category and back the measured times of
methods are 'jumping' - immediately after switch live results shows 238ms for a
method but after a second there is 1203ms.
Comment 1 Tomas Hurka 2007-01-02 16:46:23 UTC
*** Issue 89207 has been marked as a duplicate of this issue. ***
Comment 2 J Bachorik 2007-01-08 09:49:26 UTC
The problem with empty category is fixed in trunk
"Jumping" of times is related to lazy aggregation of profiling results - to
offload the processor in order not to block the profiler agent waiting for the
results to be received the data is placed in buffer upon reception and processed
progressively. To keep the UI responsive it doesn't wait for the processing to
finish and displays also partial results - thus making the tines "jump"
Comment 3 J Bachorik 2007-01-08 09:50:50 UTC
changing target
Comment 4 ehucka 2007-01-12 12:05:05 UTC
I tried to profile a web application using bundled tomcat. I used Entire
Application, All Classes and it categorized all methods to Project[*] category.
It was not changed even I had used custom profiling task with Profile underlying
framework startup.
Comment 5 J Bachorik 2007-01-12 16:01:58 UTC
This time properly fixed. Cleaned up code in the result dispatching engine and
fixed few issues with concurrency causing the observed behavior.
Comment 6 ehucka 2007-02-02 14:03:50 UTC
verified