Debian Codegraph @

freehep-graphicsio-tests/src/main/java/org/freehep/graphicsio/test/TestPerformance.java

raw
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: freehep-graphicsio-tests/src/main/java/org/freehep/graphicsio/test/TestPerformance.java f493ff6e61b2 2005/12/01 18:46:43 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 }