View Javadoc

1   // University of California, Santa Cruz, USA and
2   // CERN, Geneva, Switzerland, Copyright (c) 2000
3   package org.freehep.graphicsio.test;
4   
5   
6   /**
7    * @author Charles Loomis
8    * @author Mark Donszelmann
9    * @version $Id: TestPerformance.java 8584 2006-08-10 23:06:37Z duns $
10   */
11  public class TestPerformance extends TestSymbols2D {
12  
13      public TestPerformance(String[] args) throws Exception {
14          super(args);
15          setName("Performance");
16      }
17  
18      public static void main(String[] args) throws Exception {
19          long t0 = System.currentTimeMillis();
20          new TestSymbols2D(args).runTest();
21          if (args.length > 0) {
22              System.out.println(args[0] + " took "
23                      + (System.currentTimeMillis() - t0) + " ms.");
24          }
25      }
26  }