ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/DenseMapMicroBenchmark.java
(Generate patch)

Comparing jsr166/src/test/loops/DenseMapMicroBenchmark.java (file contents):
Revision 1.7 by jsr166, Thu Dec 18 18:43:22 2014 UTC vs.
Revision 1.8 by jsr166, Fri Jan 2 16:57:15 2015 UTC

# Line 47 | Line 47 | public class DenseMapMicroBenchmark {
47          time0(NANOS_PER_JOB, jobs);
48  
49          final String nameHeader = "Method";
50 <        int nameWidth  = nameHeader.length();
50 >        int nameWidth = nameHeader.length();
51          for (Job job : jobs)
52              nameWidth = Math.max(nameWidth, job.name().length());
53  
54          final int itemsPerTest = SIZE * OPS_PER_ITER * ITERS_PER_TEST;
55          final String timeHeader = "Nanos/item";
56 <        int timeWidth  = timeHeader.length();
56 >        int timeWidth = timeHeader.length();
57          final String ratioHeader = "Ratio";
58          int ratioWidth = ratioHeader.length();
59          String format = String.format("%%-%ds %%%dd %%.3f%%n",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines