Skip to content

Instantly share code, notes, and snippets.

@danielmitterdorfer
Created February 19, 2014 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielmitterdorfer/9099932 to your computer and use it in GitHub Desktop.
Save danielmitterdorfer/9099932 to your computer and use it in GitHub Desktop.
// Leads to command line output (jmh 0.4):
//
// # Warmup Fork: 1 of 3
// # Warmup Fork: 2 of 3
// # Warmup Fork: 3 of 3
// # Warmup Fork: 4 of 3
// # Warmup Fork: 5 of 3
//
@Fork(value = 3, warmups = 5)
public class JMHSettingsMicroBenchmark {
@GenerateMicroBenchmark
public void benchmarkRuntimeOverhead() {
//intentionally empty
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment