Skip to content

Instantly share code, notes, and snippets.

@doom369
Last active September 1, 2020 07:53
Show Gist options
  • Save doom369/d9cde2aab513ffd439fe5d7dc6f9a51e to your computer and use it in GitHub Desktop.
Save doom369/d9cde2aab513ffd439fe5d7dc6f9a51e to your computer and use it in GitHub Desktop.
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