benchmark: docs

This commit is contained in:
Daniel Langbein 2024-12-15 20:08:50 +00:00
parent a262272b19
commit 72d668e0f9
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -22,6 +22,7 @@ public class Main {
for (SortEnum sortImplementation : sortImplementations) {
Object[] sortInput = objectSupplier.getCopy();
// TODO: JVM warmup!
final long startNanos = System.nanoTime();
sortImplementation.get().sort(sortInput);
final long stopNanos = System.nanoTime();