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.
NB4.1(200503201900), JDK1.5.0_02 We have measured huge regression on Complex startup ... I've found out that it works fine with performance-test-utilities.jar revision 1.8 but it doesn't work with performance-test-utilities.jar revision 1.9 and I think root of these problems is Martin's commit: ------ User: mschovanek Date: 05/03/18 06:55:07 Modified: /performance/performancetestutilities/dist/ performance-test-utilities.jar Log: changed lastPaint handling, event filtering, ... ----------
I found it , the problem is in next change in LoggingRepaintManager.java public void paintDirtyRegions() { super.paintDirtyRegions(); lastPaint = System.currentTimeMillis(); // !!!!!! actual place of this line - this caused problems if (tr != null && hasDirtyMatches) { lastPaint = System.currentTimeMillis(); // !!!!!! previous place of this line - this caused problems tr.add(tr.TRACK_PAINT, "Done painting"); hasDirtyMatches = false; } } ----------------- Martin, why did you change this ? ... and additional info : you have changed also ------------ /** Creates a new instance of LoggingRepaintManager */ public LoggingRepaintManager(ActionTracker tr) { this.tr = tr; lastPaint = System.currentTimeMillis(); // !!!!! this is new code } ------------ Why ? Do you have any objection to reverting these changes ?
We are catching cursor blinking during Complex startup time measurement ...
I haven't found better solution, just move the lastPaint initialization at the previous place..... Sorry ;( cvs commit -m "move lastPaint initialization at the previous place - issue 56709, replace waitNoEvent by waitNoPaintEvent because the original one is misleading" performancetestutilities/dist/performance-test-utilities.jar performancetestutilities/src/org/netbeans/performance/test/guitracker/LoggingRepaintManager.java performancetestutilities/src/org/netbeans/performance/test/utilities/PerformanceTestCase.java Checking in performancetestutilities/dist/performance-test-utilities.jar; /cvs/performance/performancetestutilities/dist/performance-test-utilities.jar,v <-- performance-test-utilities.jar new revision: 1.12; previous revision: 1.11 done Checking in performancetestutilities/src/org/netbeans/performance/test/guitracker/LoggingRepaintManager.java; /cvs/performance/performancetestutilities/src/org/netbeans/performance/test/guitracker/LoggingRepaintManager.java,v <-- LoggingRepaintManager.java new revision: 1.7; previous revision: 1.6 done Checking in performancetestutilities/src/org/netbeans/performance/test/utilities/PerformanceTestCase.java;/cvs/performance/performancetestutilities/src/org/netbeans/performance/test/utilities/PerformanceTestCase.java,v <-- PerformanceTestCase.java new revision: 1.8; previous revision: 1.7 done
verified, it works fine now....