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 228707 - Hotspots in Live Results do not match hotspots in snapshot
Summary: Hotspots in Live Results do not match hotspots in snapshot
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 13:32 UTC by Tomas Hurka
Modified: 2013-04-26 02:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Live results (235.48 KB, image/png)
2013-04-18 13:35 UTC, Tomas Hurka
Details
Snapshot (253.02 KB, image/png)
2013-04-18 13:36 UTC, Tomas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2013-04-18 13:32:29 UTC
Steps:
1) open Anagram
2) select CPU profiling/instrumentation
3) use default - profile only project classes
4) start profiling
5) when application displays main window, open live results
6) take snapshot

-> hotspots do not match.
See attached screenshots
Comment 1 Tomas Hurka 2013-04-18 13:35:44 UTC
Created attachment 133568 [details]
Live results
Comment 2 Tomas Hurka 2013-04-18 13:36:26 UTC
Created attachment 133569 [details]
Snapshot
Comment 3 Tomas Hurka 2013-04-18 16:29:32 UTC
It looks like the discrepancy is caused by filtering out marker methods. I am not able to reproduce it when marker methods are disabled.
Comment 4 Tomas Hurka 2013-04-24 14:46:55 UTC
Fixed in profiler-main
There are still some minor differences, which are caused by rounding errors. 

changeset:   251252:b60bd970c003
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Apr 24 16:43:09 2013 +0200
summary:     bugfix #228707, make sure that data from filtered-out node is added to the non-filtered node
Comment 5 Quality Engineering 2013-04-26 02:45:47 UTC
Integrated into 'main-golden', will be available in build *201304252301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b60bd970c003
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #228707, make sure that data from filtered-out node is added to the non-filtered node