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

Slow parsing of long unsupported URL on opening new URL #126

Open
Self-Perfection opened this issue May 20, 2024 · 0 comments
Open

Slow parsing of long unsupported URL on opening new URL #126

Self-Perfection opened this issue May 20, 2024 · 0 comments

Comments

@Self-Perfection
Copy link
Contributor

This is a continuation of #125
Less severe but probably still worth noting.

On very long view-source: URLs OpenSwitchMaps blocked addons execution for dozens of seconds. So I wondered if the same applies to long https? URLs, that are still handled by 1.5.4.

So here is my test: I recorded profile for opening 11 KiB URL. OpenSwitchMaps consumed 1s of CPU time: https://share.firefox.dev/4arDszp

I made URL for test this way:

echo https://ipfs.io/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme?$(printf '%s&' map=10/{1..24}.123/{1..23}.456)endofparams

It is definitely is not supported site so should not trigger OpenSwitchMaps.

I admit that such long URLs are extremely rare. Yet according to my browsing history login URLs about 1.5 KiB length are quite common. So I think even 1.5.4 release makes Firefox hiccup sometimes on navigation.

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

No branches or pull requests

1 participant