Dear mailing list,
While trying to resolve some issues with Java refactoring, I noticed that
the tests take a long time to run.

On a freshly built dev version, running test
.../java/refactoring.java/test/unit/src/org/netbeans/modules/refactoring/java/test/RenameRecordTest.java
I get this:

[image: image.png]
Running it multiple times after each other gives the same result.
Notice the first line, (18.9 seconds) the first test takes a long time, as
if something is introducing some waiting time.
This experience is consistent with all other test in the same test-package;
all tests wait long on the first test.
This is incredibly annoying when running only one test.

During the wait, I had enough time to look at the CPU activity, which
appeared idle on all threads most of the time.
There is one peak at the beginning of the test run on one or two cores, and
more activity at the end.
In the time between, my machine appears idle.

Characteristics of my environment:

   - Ubuntu 24.04 running XFCE
   - CPU Packages:
   0: AMD Ryzen 9 3900X
   Microarchitectures:
   24x Zen 2
   - java 17 (as required to build netbeans)
   - netbeans dev, fresh pull and build.

Could you please advise me on my setup?

Met vriendelijke groet,
Pieter van den Hombergh.
Kerboschstraat 12
5913 WH Venlo

Reply via email to