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 42914 - GTK L&F: Warm and cold startup times are increased in comparison to Metal L&F
Summary: GTK L&F: Warm and cold startup times are increased in comparison to Metal L&F
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: GTK, PERFORMANCE
Depends on:
Blocks: 42937
  Show dependency tree
 
Reported: 2004-05-06 19:18 UTC by Antonin Nebuzelsky
Modified: 2008-12-22 17:40 UTC (History)
1 user (show)

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 Antonin Nebuzelsky 2004-05-06 19:18:36 UTC
jdk 1.5.0-beta2 b49
trunk build 200405051800
Red Hat 9

Dell Latitude C840, PIV 2.2GHz, 1024MB RAM:
metal: 9.2s, 7.6s,  7.6s (warm); 1:58 (cold)
gtk:  11.1s, 9.7s, 10.0s (warm); 2:14 (cold)

Dell Precision 220, PIII 800MHz, 512MB RAM:
metal:  16.4s, 14.4s, 14.8s (warm); 22.8s (cold)
gtk:    18.8s, 16.4s, 16.6s (warm); 26.3s (cold)

This issue (at least part of the problem) is
related to the bugtraq issue #5042603: GTK L&F -
delayed repaint of window).
Comment 1 _ tboudreau 2004-05-06 20:07:37 UTC
A few thoughts:  

1.  I believe GTK parses some XML files to come up with the colors/theme - hopefully 
they're not using DOM, but that could have something to do with it.

2.  What theme were you using?  It would be good to test this both on Blueprint and some 
common theme like Grand Canyon or other.  Also, currently on Blueprint, we are using a 
specialized UI delegate for the tabs for that; it is a failed experiment, and I will remove it 
from the trunk today or tomorrow in favor of a modified win-classic look and feel which is 
quite generic (and does not use reflection heavily to hack GTK L&F).  This is already the 
default for non-blueprint themes.

3.  Could we benchmark the startup time difference running FakeBeans with metal and 
GTK L&Fs to get an idea of what may be stuff we're doing and stuff GTK look and feel 
does?  What we're doing is pretty much the same for either look and feel; there's a little 
more work on our side in that we load a few more classes and do a few one-time 
reflection based lookups of some classes and methods in GTK L&F which we cannot access 
directly because GTK L&F doesn't exist everywhere, so our sources would not be 
compilable.
Comment 2 Antonin Nebuzelsky 2004-05-07 13:55:10 UTC
ad 2) On the notebook (first one) I used Industrial theme (Ximian
default) and on the desktop (second one) I used Bluecurve theme (RH9
default).
Comment 3 _ tboudreau 2004-07-21 14:13:47 UTC
Performance problem is in JDK (see other GTK issues for bug IDs);  GTK L&F not supported 
for promo D.
Comment 4 Marian Mirilovic 2005-07-19 15:00:30 UTC
Once we'll support GTK, we'll file this issue again if still valid ...
verified/closed