Last active
September 1, 2020 07:53
-
-
Save doom369/d9cde2aab513ffd439fe5d7dc6f9a51e 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
JDK 11.0.8, OpenJDK 64-Bit Server VM, 11.0.8+10 | |
``` | |
Benchmark (value) Mode Cnt Score Error Units | |
replace avgt 10 3.843 ± 0.100 ns/op | |
replace somePathNoDoT avgt 10 8.693 ± 0.693 ns/op | |
replace some.Path.With.Dot avgt 10 127.022 ± 8.842 ns/op | |
replaceAll avgt 10 156.550 ± 10.741 ns/op | |
replaceAll somePathNoDoT avgt 10 159.619 ± 4.654 ns/op | |
replaceAll some.Path.With.Dot avgt 10 391.912 ± 11.445 ns/op | |
replaceAllPrecompiled avgt 10 52.466 ± 0.791 ns/op | |
replaceAllPrecompiled somePathNoDoT avgt 10 64.337 ± 0.854 ns/op | |
replaceAllPrecompiled some.Path.With.Dot avgt 10 274.867 ± 3.535 ns/op | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment