3 ms·
>> If you benchmark runs in less than 2 seconds half of the time measured is starting the runtime, profiling & compiling code.<< Please show that it takes 1 wh
by igouy 11y ago
>> If you benchmark runs in less than 2 seconds half of the time measured is starting the runtime, profiling & compiling code.<<
Please show that it takes 1 whole second (measured after the Java program starts and before it terminates) for the JVM to profile and compile the 100 lines of code.
That would suggest the JVM was pure junk.