Package org.gradle.performance.fixture

Examples of org.gradle.performance.fixture.PerformanceResults.version()


                            tr();
                                td().text(format.timestamp(new Date(performanceResults.getTestTime()))).end();
                                td().text(performanceResults.getVersionUnderTest()).end();
                                td().text(performanceResults.getVcsBranch()).end();
                                for (String version : versions) {
                                    VersionResults versionResults = performanceResults.version(version);
                                    td().classAttr("numeric");
                                    if (versionResults.getResults().isEmpty()) {
                                        text("");
                                    } else {
                                        text(versionResults.getResults().getExecutionTime().getAverage().format());
View Full Code Here


                                        text(versionResults.getResults().getExecutionTime().getAverage().format());
                                    }
                                    end();
                                }
                                for (String version : versions) {
                                    VersionResults versionResults = performanceResults.version(version);
                                    td().classAttr("numeric");
                                    if (versionResults.getResults().isEmpty()) {
                                        text("");
                                    } else {
                                        text(versionResults.getResults().getTotalMemoryUsed().getAverage().format());
View Full Code Here

            out.println("    \"label\": \"" + version + "\",");
            out.print("\"data\": [");
            boolean empty = true;
            for (int j = 0; j < sortedResults.size(); j++) {
                PerformanceResults results = sortedResults.get(j);
                MeasuredOperationList measuredOperations = results.version(version).getResults();
                if (!measuredOperations.isEmpty()) {
                    if (!empty) {
                        out.print(", ");
                    }
                    out.print("[" + j + ", " + valueRenderer.transform(measuredOperations) + "]");
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.