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

Comparing jsr166/src/test/loops/DequeBash.java (file contents):
Revision 1.13 by dl, Sat Oct 22 19:30:48 2016 UTC vs.
Revision 1.14 by jsr166, Sun Oct 23 01:41:32 2016 UTC

# Line 32 | Line 32 | public class DequeBash {
32      static int random(int bound) {
33          return (random() & 0x7fffffff) % bound;
34      }
35 <    
35 >
36      public static void main(String[] args) throws Exception {
37          Class<?> cls = Class.forName(args[0]);
38          long startTime = System.nanoTime();
# Line 48 | Line 48 | public class DequeBash {
48          long now = System.nanoTime();
49          long elapsedTimeMillis = (now - startTime) / (1000L * 1000L);
50          System.out.printf("\ntotal time %d ms\n", elapsedTimeMillis);
51 <        
51 >
52      }
53  
54      static void mainTest(Deque<Integer> deque, int n) throws Exception {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines