![JAR search and dependency download from the Maven repository](/logo.png)
com.fillumina.performance.producer.progression.StandardDeviationViewer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of performance-tools Show documentation
Show all versions of performance-tools Show documentation
Configurable tool to easily compare performances of different code
snippets and to take performance telemetry of a running application.
The newest version!
package com.fillumina.performance.producer.progression;
import java.io.Serializable;
/**
*
* @author Francesco Illuminati
*/
public class StandardDeviationViewer
implements StandardDeviationConsumer, Serializable {
private static final long serialVersionUID = 1L;
public static final StandardDeviationViewer INSTANCE =
new StandardDeviationViewer();
private StandardDeviationViewer() {}
@Override
public void consume(final long iterations,
final long samples, final double stdDev) {
final String message = new StringBuilder()
.append("Iterations: ").append(iterations)
.append("\tSamples: ").append(samples)
.append("\tStandard Deviation: ").append(stdDev)
.toString();
System.out.println(message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy