Hi Lars,

I don't suppose this will be much help. However, I ran your test on my system:

MacBook Air Mid 2011
1.8GHz Intel Core i7
macOS 10.14.6

Using:

Product Version: Apache NetBeans IDE 12.4-rc1
Java: 11.0.10; OpenJDK 64-Bit Server VM 11.0.10+9-LTS
Runtime: OpenJDK Runtime Environment 11.0.10+9-LTS

After several runs I got rounded averages of:

Clean & Build 11.7 s
Run 2.7 s
Test 9.7 s

Unfortunately, I no longer have a copy of IntelliJ IDEA so can provide no comparison.

Regards

Jeremy

On 25/04/2021 10:15, Lars Bruun-Hansen wrote:
In fact about x20 slower than IntelliJ IDEA. But before jumping to
conclusions I was hoping for verification from community and - if
validated - on some ideas why this might be so.

For showcasing the problem I've created a minimal Maven example
(attached to [NETBEANS-5592]). It simply prints 10,000 lines of random
text to stdout.


Project menu "Run"
-----------------------------
When the sample application is executed it performs well in both
NetBeans IDE and IntelliJ IDEA: The "Output Window" is able to consume
the messages at a very rapid pace. (in fact, dare I say, NetBeans IDE
is perhaps a little bit faster than IntelliJ IDEA).

Project menu "Test"
------------------------------
However, when the same is executed as a JUnit 5 test using Maven
Surefire Plugin it performs extremely poorly in NetBeans IDE while
IntelliJ IDEA exhibits same behavior as in the non-test case, meaning
it is just as fast.
(if "mvn test" is instead performed from an OS prompt it performs well)


As a result, I've found that for test cases which produce massive
amounts of output (I'm looking at you Spring Boot) I need to seriously
increase the Maven Surefire timeout
(forkedProcessExitTimeoutInSeconds). I don't need to do that in
IntelliJ IDEA.

More info on [NETBEANS-5592].

Any clues?

/Lars

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to