Created
February 16, 2020 22:31
-
-
Save gusakovgiorgi/02e74c81a8516312c3ca3a569f5ef011 to your computer and use it in GitHub Desktop.
Java instanceof add and equals operators benchmarking
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 Mode Cnt Score Error Units | |
CompareOperatorsBenchMark.add avgt 25 1.975 ± 0.066 ns/op | |
CompareOperatorsBenchMark.instanceOf avgt 25 2.029 ± 0.007 ns/op | |
CompareOperatorsBenchMark.notEqualsWithDouble avgt 25 2.281 ± 0.006 ns/op | |
CompareOperatorsBenchMark.notEqualsWithInt avgt 25 2.053 ± 0.012 ns/op |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment