4 ms·
That comes with a big memory cost, though. Also huge startup time, so not suitable for command line tools.
by danellis 11y ago
That comes with a big memory cost, though. Also huge startup time, so not suitable for command line tools.
- pjmlp 11y agoJust get an AOT compiler, plenty to choose from. Also since Java 8 with tiered compilation, I wouldn't consider a few ms a huge startup time.
- catfest 11y agoI don't think startup time is an issue, and memory is definitely manageable - check out LMAX Disruptor (https://lmax-exchange.github.io/disruptor/ https://lmax-exchange.github.io/disruptor/)
- sievebrain 11y agoJava startup time is ~50msec, which for command line tools is fine.
- kgabis 11y agoUnless you run them in a loop, which is not that uncommon.