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 - JUnitMethodRunnerProvider parses from EDT (64283 ms)
Summary: JUnitMethodRunnerProvider parses from EDT (64283 ms)
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Theofanis Oikonomou
: 218071 (view as bug list)
Depends on:
Reported: 2012-06-11 16:01 UTC by stefan79
Modified: 2013-05-28 14:08 UTC (History)
33 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185390

nps snapshot (1.56 MB, application/nps)
2012-06-11 16:02 UTC, stefan79
nps snapshot (180.26 KB, application/nps)
2012-06-11 23:27 UTC, Jesse Glick

Note You need to log in before you can comment on or make changes to this bug.
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 <>
Date:      2013-02-27 16:38
Comment 8 Quality Engineering 2013-03-01 02:01:03 UTC
Integrated into 'main-golden', will be available in build *201302282300* on (upload may still be in progress)
User: Theofanis Oikonomou <>
Log: Issue #213998 - JUnitMethodRunnerProvider parses from EDT (64283 ms)