Package spullara.util

Examples of spullara.util.Benchmarker.report()


            ai.addAndGet((int) list.stream().filter(v -> v.endsWith("1")).count());
        });
        bm.execute("parallel stream", () -> {
            ai.addAndGet((int) list.stream().parallel().filter(v -> v.endsWith("1")).count());
        });
        bm.report();
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.