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

Add realworld benchmark #1024

Merged
merged 1 commit into from
Mar 18, 2022
Merged

Conversation

tmcw
Copy link
Contributor

@tmcw tmcw commented Mar 17, 2022

This PR exists to complement / gut-check the work in #1023 - the typeCache would make the realworld benchmark faster if it was a net win, because it would replace some typeof checks with a map lookup. This benchmark confirms that removing typeCache is about 10% faster in my testing, even if there are repeated values in the dataset.

@colinhacks colinhacks merged commit 46e8301 into colinhacks:master Mar 18, 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.

2 participants