All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.ao.benchmark.util.PrettyPrintReportPrinter Maven / Gradle / Ivy

There is a newer version: 6.1.1
Show newest version
package net.java.ao.benchmark.util;

public final class PrettyPrintReportPrinter implements ReportPrinter {
    @Override
    public void print(Report report) {
        System.out.printf("%s:\n", report.getName());
        System.out.printf("\tTotal: %sms\n", report.getTotalTime());
        if (report.hasLaps()) {
            System.out.printf("\tAvg  : %sms\n", report.getAverageTime());
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy