4 ms·
>>half of the time measured is starting the runtime, profiling & compiling code<< Here are 10 cold-run times reported by their program: Elapsed time is 3.
by igouy 11y ago
>>half of the time measured is starting the runtime, profiling & compiling code<<
Here are 10 cold-run times reported by their program:
Elapsed time is 3.122233018 seconds.
Elapsed time is 2.970587912 seconds.
Elapsed time is 3.110304658 seconds.
Elapsed time is 2.886701204 seconds.
Elapsed time is 2.966404493 seconds.
Elapsed time is 2.905329605 seconds.
Elapsed time is 2.968715703 seconds.
Elapsed time is 2.922929706 seconds.
Elapsed time is 2.906730019 seconds.
Elapsed time is 2.919119506 seconds.
Here are the stats reported by JMH after 200 samples:
Result : 2.950 ±(99.9%) 0.015 s/op
Statistics: (min, avg, max) = (2.932, 2.950, 2.984), stdev = 0.017
Confidence interval (99.9%): [2.935, 2.965]