Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up javaNameToYamlName by usage of array #578

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

snuyanzin
Copy link
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