Skip to content
Permalink
Browse files
Slight tweak to the widths in DumpResults script
Increasing the widthe of the test name column to accomodate our largest test
names. Eventually we could switch to a more intelligent table printing library
but this works for the moment.
  • Loading branch information
upthewaterspout committed Oct 13, 2021
1 parent f3d5917 commit e8157e21fe805ac93ca5fc5246b296be376c4282
Showing 1 changed file with 2 additions and 4 deletions.
@@ -37,7 +37,7 @@ public static void main(String[] args) throws IOException {

BenchmarkReader reader = new BenchmarkReader();
reader.addProbe(new YardstickHdrHistogramParser());
System.out.printf("%-40s %-30s %-16s %-16s %-16s\n", "Directory", "Benchmark", "ops/sec",
System.out.printf("%-30s %-55s %-16s %-16s %-16s\n", "Directory", "Benchmark", "ops/sec",
"avg latency(ms)", "99%% latency(ms)");

Arrays.sort(args);
@@ -58,11 +58,9 @@ public static void main(String[] args) throws IOException {
benchmarkResult.getValue().get(YardstickHdrHistogramParser.PERCENTILE_LATENCY_99).value
/ 1_000_000.0;

System.out.printf("%-40s %-30s %-16.2f %-16.4f %-16.4f\n", benchmarkDir.getName(), name,
System.out.printf("%-30s %-55s %-16.2f %-16.4f %-16.4f\n", benchmarkDir.getName(), name,
opsPerSec, latency, latency_99);
}


}
}
}

0 comments on commit e8157e2

Please sign in to comment.