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 213998

Summary: JUnitMethodRunnerProvider parses from EDT (64283 ms)
Product: java Reporter: stefan79 <stefan79>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED FIXED    
Severity: normal CC: 452, alexvsimon, alied, aquaglia, asmotrich, bht, choces, emiddio, everflux, fedetxf, FiruzzZ, fleka, grimlock81, idclaar, javydreamercsw, jbecicka, jglick, jrose, KhArtNJava, kullervo16, mjanicek, muellermi, muhammadghazali, ncrowdy, padraigdoran, panason2008, robertjava, sdlarsen, sishbi, sreder, stefan79, tzezula, zdenek.rod
Priority: P2 Keywords: PERFORMANCE
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 185390
Attachments: nps snapshot
nps snapshot

Description stefan79 2012-06-11 16:01:06 UTC
Build: NetBeans IDE Dev (Build 201206080001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows 7

User Comments:
jglick: Context menu in Java editor.

KhArtNJava: php code editing

jglick: Run Focused Test Method; IDE hung before starting process.

stefan79: Compiling (a small class) was very slow.



Maximum slowness yet reported was 64283 ms, average is 16428
Comment 1 stefan79 2012-06-11 16:02:08 UTC
Created attachment 120682 [details]
nps snapshot
Comment 2 Tomas Zezula 2012-06-11 18:21:55 UTC
The JUnitMethodRunnerProvider parses from EDT which is not very good.
1st) Parsing is inherently expensive and does IO.
2nd) In case like in comment # 1 the parsing needs to wait until another priority task (refactoring) ends and frees the java model.
Comment 3 Jesse Glick 2012-06-11 23:27:51 UTC
Created attachment 120710 [details]
nps snapshot
Comment 4 Theofanis Oikonomou 2012-10-26 14:29:19 UTC
*** Bug 218071 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Glick 2013-01-15 21:55:00 UTC
This is an ongoing annoyance, is it going to get fixed?
Comment 6 Jan Becicka 2013-02-22 15:36:50 UTC
96 duplicates
Comment 7 Theofanis Oikonomou 2013-02-27 15:40:46 UTC
Changeset: 7cbe1576bbb0
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2013-02-27 16:38
Message:
Comment 8 Quality Engineering 2013-03-01 02:01:03 UTC
Integrated into 'main-golden', will be available in build *201302282300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7cbe1576bbb0
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #213998 - JUnitMethodRunnerProvider parses from EDT (64283 ms)