Hacker News new | ask | show | jobs
by Scarbutt 1873 days ago
Your hello world actually took one second to start, add libraries for a web application and you will be hitting 2-3 minutes of startup time.
1 comments

That's actually not correct at all. Hello World is slow because you have to start up the JVM. Once it's started it's rather fast. Your web application has the same JVM startup cost but not a lot more than that.
The jvm takes 50 ms to start. That's 620ms unaccounted for in Hello World.