3 ms·
It's fairly easy to use Class Data Storage and include an archive in Java 12 where startup time is important. This reduces start time significantly. JVM starts
by nullwasamistake 7y ago
It's fairly easy to use Class Data Storage and include an archive in Java 12 where startup time is important. This reduces start time significantly.
JVM starts really quick (~100ms on my machine) and doesn't use much resources as long as your app is small. that's... Uncommon in Java land though. Even simply apps pull in Guava/Apache Commons and a few client libraries. This can easily be thousands of classes. Nobody thinks about it because runtime cost for loading shitloads of code is so low. But you can improve this a ton by using ProGaurd and stripping out stuff you don't need