this post was submitted on 13 Jul 2023
37 points (100.0% liked)

Java

1393 readers
3 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

I'm not so sure if the JVM startup was the culprit in your situation. The Computer Language Benchmarks Game shows that even for short runtimes, the startup doesn't affect their performance numbers that much

[–] [email protected] 5 points 1 year ago (1 children)

That link just compares benchmarks with and without warmup, but not without startup. The JVM's startup can take upwards of 2 seconds, depending on the program.

[–] [email protected] 2 points 1 year ago

Oh, I'm dumb. Thanks for clearing this up :)