Open GoogleCodeExporter opened 9 years ago
GC is "never" inevitable since you can reduce the timing interval, which is
exactly what we do when making measurements like you describe. You really
never want a measurement that included time in GC -- you might as well add
random.nextDouble() to your results.
Greg, can caliper output a message when too many runs are discarded that
informs the user how to lower the timing interval? (Also, do we still need to
lower the default timing interval to 50-100 ms?)
Original comment by kevinb@google.com
on 24 May 2013 at 2:11
Unless you want to show that your library does not suffer from the same issues
an existing library is having with GC.
but yeah, this is minor and can easily be shown without an accurate
microbenchmark tool like Caliper.
Original comment by o...@yadan.net
on 25 May 2013 at 7:21
Original issue reported on code.google.com by
o...@yadan.net
on 24 May 2013 at 6:15