You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create less garbage; don't invoke expensive Integer.toString() in the tight loop.
Simple profiling shows that significant portion of benchmark time is spent in Integer.toString(); hence benchmarks results are "shifted" and could make wrong impression on the actual performance difference between the benchmarked stores. Creating garbage makes garbage collection to kick in unpredictably during benchmarking, that makes results less representative as well.
The text was updated successfully, but these errors were encountered:
Integer.toString()
in the tight loop.Simple profiling shows that significant portion of benchmark time is spent in
Integer.toString()
; hence benchmarks results are "shifted" and could make wrong impression on the actual performance difference between the benchmarked stores. Creating garbage makes garbage collection to kick in unpredictably during benchmarking, that makes results less representative as well.The text was updated successfully, but these errors were encountered: