mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-21 19:50:35 +01:00
benchmark: doc
This commit is contained in:
parent
ebff5b6dc5
commit
e627c99b55
@ -13,6 +13,10 @@ import java.util.concurrent.TimeUnit;
|
||||
@Warmup(iterations = 3)
|
||||
@Measurement(iterations = 6)
|
||||
public class BenchmarkJmh {
|
||||
/**
|
||||
* Quote from JMH:
|
||||
* State objects naturally encapsulate the state on which benchmark is working on.
|
||||
*/
|
||||
@State(Scope.Benchmark)
|
||||
public static class State1 {
|
||||
RandomIntegers d = new RandomIntegers();
|
||||
|
Loading…
x
Reference in New Issue
Block a user