Package com.carrotsearch.junitbenchmarks

Examples of com.carrotsearch.junitbenchmarks.WriterConsumer


    }
   
    private static IResultsConsumer[] getConsumersUnsafe(IResultsConsumer... additional) throws IOException {
        List<IResultsConsumer> consumers = new ArrayList<IResultsConsumer>();
        consumers.add(new XMLConsumer(new File("jub." + Math.abs(System.nanoTime()) + ".xml")));
        consumers.add(new WriterConsumer()); // defaults to System.out
       
        if (null != System.getenv(ENV_EFFORT_GENERATE)) {
            String file = getEffortFilePath();
            Writer writer = new FileWriter(file, true);
            log.info("Opened " + file + " for appending");
View Full Code Here

TOP

Related Classes of com.carrotsearch.junitbenchmarks.WriterConsumer

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.