Also, 8 seconds is quick in my experience for Java - I’ve seen more like 15-30
Probably you're loading many thousands of classes...
It could also be when he's hitting "run test" it's actually "compile and run"...
Ok, maybe I misspoke about the "JVM" startup. But the time between `mvn test` and it actually logging the first line of user code was in the region of 15 seconds. Every java project I've worked on has had startup time issues once they're bigger than a toy project.
Saying "the JVm startup is fine, it's just the class loader that's slow" reinforces the point of "it's slow to startup"
> It could also be when he's hitting "run test" it's actually "compile and run"...
This would be true in C# too, and in go. Both of those tools have much quicker compilation times IME than java, which is just a nice plus.
Aren't Go's compile times about the same as Java's? Of course it depends on what tooling you use to package the jars.