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 269500 - Slow rendering of treetable results
Summary: Slow rendering of treetable results
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-06 17:55 UTC by Jiri Sedlacek
Modified: 2017-01-13 02:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Selfsampler snapshot (8.57 KB, application/octet-stream)
2017-01-06 17:55 UTC, Jiri Sedlacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2017-01-06 17:55:29 UTC
Created attachment 163351 [details]
Selfsampler snapshot

Performance of profiler treetables displaying a big amount of data (rows) is poor, eventually blocking the EDT when scrolled down. Sampled snapshot attached.

Caused by a bug in BasicTreeUI.paintVerticalPartOfLeg() which incorrectly sets the dotted vertical line to be rendered from the top of the tree (should be from the top of the actual rendering clip) when the root node is hidden (JTree.setRootVisible()) - this is the case for all profiler views.

Affects the Windows LaF and any other BasicTreeUI-based LaFs which render horizontal lines in trees.
Comment 1 Jiri Sedlacek 2017-01-06 18:08:51 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/0ea3348671f9.
Comment 2 Quality Engineering 2017-01-13 02:43:21 UTC
Integrated into 'main-silver', will be available in build *201701130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0ea3348671f9
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #269500 - performance workaround for BasicTreeUI to speedup rendering of profiler treetables