Skip to content

Speed up javaNameToYamlName by usage of array#578

Merged
snuyanzin merged 1 commit into
datafaker-net:mainfrom
snuyanzin:javaNameToYamlName
Dec 22, 2022
Merged

Speed up javaNameToYamlName by usage of array#578
snuyanzin merged 1 commit into
datafaker-net:mainfrom
snuyanzin:javaNameToYamlName

Conversation

@snuyanzin

Copy link
Copy Markdown
Collaborator

Based on measurements with array it is 3 times faster
before

JavaToYamlName.javaNameToYamlName  thrpt   10  16956.250 ± 210.104  ops/ms

after

JavaToYamlName.javaNameToYamlName  thrpt   10  48621.566 ± 270.788  ops/ms

@snuyanzin
snuyanzin merged commit 6930ebe into datafaker-net:main Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant