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

perf(ext/web): optimize atob/btoa #13841

Merged
merged 7 commits into from
Mar 5, 2022
Merged

Conversation

AaronO
Copy link
Contributor

@AaronO AaronO commented Mar 4, 2022

Follow up to #13839, optimizing base64_roundtrip ~20x (~125ms => ~6.5ms)

Before:

base64_roundtrip:    	n = 100, dt = 12.493s, r = 8/s, t = 124930000ns/op

After:

base64_roundtrip:    	n = 100, dt = 0.649s, r = 154/s, t = 6490000ns/op

ext/web/lib.rs Outdated Show resolved Hide resolved
@AaronO AaronO merged commit 72d593f into denoland:main Mar 5, 2022
@AaronO AaronO deleted the perf/web-base64 branch March 5, 2022 19:12
kt3k pushed a commit that referenced this pull request Mar 10, 2022
Follow up to #13839, optimizing `base64_roundtrip` ~20x (~125ms => ~6.5ms)
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.

3 participants