Last active
July 4, 2020 03:46
-
-
Save yangweigbh/e16e8a6d52ee241771174851177ea42d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void myBenchmark() { | |
... | |
BenchmarkState state = benchmarkRule.getState(); | |
while (state.keepRunning()) { | |
doSomeWork(); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment