-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Improve extension performance #360
Labels
Comments
I really should figure out how to measure web extension perf overall |
Here are the results using the above-mentioned tool:
Optimizations necessary for:
Docs: https://joannechen1223.github.io/posts/webext-profiler/ Test was to load https://www.twitch.tv/ (5 iterations) |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current implementation first create an array of lowercase strings then calls includes on the lowercase channel name. Instead use array.some() so that only strings up to a matching one would be put to lowercase (plus avoids new array allocation)DoneThe text was updated successfully, but these errors were encountered: