final F1<Object, Object> f = solver.f();
System.out.print(" " + solver.name() + ": ");
// Let the benchmark run
final BenchmarkResults results = Benchmarker.benchmark(new F0() {
@Override
public void f() {
f.f(d);
}
}, 20);
// And print results of the last n runs
System.out.print(results.median(10) + "µs (");
long[] values = results.values();
for (int i = 0; i < values.length; i++) {
System.out.print(values[i] + "µs");
if(i < values.length - 1) System.out.print(" ");
}
System.out.println(")");