5 ms·
> If you run a simple java app without dependencies and only displaying "Hello world" it will run in about 1s on modern hardware. > time for x in $(seq 1 100);
by ajuc 12y ago
> If you run a simple java app without dependencies and only displaying "Hello world" it will run in about 1s on modern hardware.
> time for x in $(seq 1 100); do ./helloworld.py ; done
real 0m1.240s
user 0m0.902s
sys 0m0.343s
That's reasonably fast.
Java for comparison:
> time for x in $(seq 1 100); do java Hw; done
real 0m4.952s
user 0m4.051s
sys 0m1.071s
And I had to compile java first. Still, I expected worse from java TBH.
- virmundi 12y agoOut of curiosity which Java? OpenJDK or Oracle or IBM?