Package com.tagtraum.perf.gcviewer.imp

Examples of com.tagtraum.perf.gcviewer.imp.DataReader


public class ImportPerformanceTest {
    public static void main(String[] args) throws IOException, InterruptedException {
        IntData performanceData = new IntData();
        for (int i=0; i<10; i++) {
            long start = System.currentTimeMillis();
            DataReader dataReader = new DataReaderFactory().getDataReader(new FileInputStream(args[0]));
            dataReader.read();
            performanceData.add((int)(System.currentTimeMillis() - start));
        }
       
        printIntData(args[0], performanceData);
    }
View Full Code Here

TOP

Related Classes of com.tagtraum.perf.gcviewer.imp.DataReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.