4 ms·
I got: OpenJDK 8: ~80-90 ms OpenJDK 11: ~60 ms OpenJDK 14: ~50-55 ms The first runs were a bit slower, perhaps because the files needed by the JVM weren't i
by Delk 6y ago
I got:
OpenJDK 8: ~80-90 ms
OpenJDK 11: ~60 ms
OpenJDK 14: ~50-55 ms
The first runs were a bit slower, perhaps because the files needed by the JVM weren't in disk cache or something.
Other languages/runtimes:
Python 2.7: 20-25 ms
Python 3.8: 30-40 ms
Native binary compiled from C: 1-3 ms (so bordering on unmeasurable at millisecond resolution)
This was on Linux, and an entirely unrigorous experiment.
edit: formatting
- vips7L 6y agoNice! I'm glad startup time is getting closer to python. FWIW GraalVM native image was 16ms for me on Windows.