Created
December 28, 2018 22:05
-
-
Save andrebrait/c97af6a9fbb60105d5c7817e083322d6 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
@Benchmark | |
public void testMethod(Blackhole blackhole) { | |
int a = 1; | |
int b = 2; | |
int sum = a + b; | |
blackhole.consume(sum); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment