com.jupiter.tools.stress.test.extension.benchmark.TestTiming Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stress-test Show documentation
Show all versions of stress-test Show documentation
JUnit5 Extensions Suite to make stress tests
The newest version!
package com.jupiter.tools.stress.test.extension.benchmark;
import lombok.Getter;
import lombok.Setter;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
/**
* Created on 19.08.2018.
*
* A single result of measuring the duration of the test method.
*
* @author Korovin Anatoliy
*/
@Getter
@Setter
public class TestTiming {
private long startTime;
private double duration;
private double average;
private TimeUnit timeUnit;
private List results = new ArrayList<>();
public TestTiming(long startTime, TimeUnit timeUnit) {
this.startTime = startTime;
this.timeUnit = timeUnit;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy