Skip to content

Instantly share code, notes, and snippets.

@doom369
Last active August 19, 2020 15:24
Show Gist options
  • Save doom369/c7042165e07593dccec9015a8c56fb5d to your computer and use it in GitHub Desktop.
Save doom369/c7042165e07593dccec9015a8c56fb5d to your computer and use it in GitHub Desktop.
JDK 11.0.8, OpenJDK 64-Bit Server VM, 11.0.8+10
Benchmark (strParams) Mode Cnt Score Error Units
EnumValueOf.enumSwitch LABEL avgt 80 7.149 ± 0.030 ns/op
EnumValueOf.enumSwitch ON_LABEL avgt 80 7.758 ± 0.077 ns/op
EnumValueOf.enumSwitch MAX avgt 80 6.948 ± 0.083 ns/op
EnumValueOf.enumValueOf LABEL avgt 80 15.659 ± 0.450 ns/op
EnumValueOf.enumValueOf ON_LABEL avgt 80 14.734 ± 0.542 ns/op
EnumValueOf.enumValueOf MAX avgt 80 15.153 ± 0.578 ns/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment