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: [email protected]
For additional commands, e-mail: [email protected]

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



Reply via email to