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

Increment the itoa benchmark versions. #146

Merged
merged 4 commits into from
Sep 18, 2024
Merged

Increment the itoa benchmark versions. #146

merged 4 commits into from
Sep 18, 2024

Conversation

Alexhuszagh
Copy link
Owner

@Alexhuszagh Alexhuszagh commented Sep 16, 2024

Closes #144
Closes #148

@Alexhuszagh Alexhuszagh added the documentation Fix in the documentation label Sep 16, 2024
@Alexhuszagh Alexhuszagh added this to the 1.0.2 milestone Sep 16, 2024
@Alexhuszagh Alexhuszagh self-assigned this Sep 16, 2024
@Alexhuszagh Alexhuszagh marked this pull request as ready for review September 18, 2024 21:47
@Alexhuszagh
Copy link
Owner Author

I've added scripts to auto-generate the benchmarks from various commits and plot them and then we can update the references just by changing the commit ID. It shows on average itoa outperforms lexical for integer writing, while lexical outperforms ryu (using dragonbox) slightly for float writing, we slightly outperform the core library for integer and float parsing.

@Alexhuszagh Alexhuszagh merged commit bb1cbf1 into main Sep 18, 2024
39 checks passed
@Alexhuszagh Alexhuszagh deleted the itoa branch September 18, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Fix in the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DOC] Outdated Benchmarks [OTHER] Outdated itoa dependency in benchmarks
1 participant