I am running tests that start multiple JVM processes. Summary startup time of JVMs is quite significant compared to time of actual tests that run inside JVM. How do I speed
Why not load all the tests in one JVM ? Can you do one or more of the following ?
Class.forName() ?If memory allocation is sizeable, it may speed things up by specifying the JVM memory startup size to the same figure as the maximum allocatable memory (-Xms vs -Xmx), which will save the JVM having to go back to the OS for more memory. However in this scenario I think that's unlikely to be the problem.