Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

URL parsing is slow #8707

Closed
ayumi opened this issue May 4, 2017 · 0 comments · Fixed by #8708
Closed

URL parsing is slow #8707

ayumi opened this issue May 4, 2017 · 0 comments · Fixed by #8708

Comments

@ayumi
Copy link
Contributor

ayumi commented May 4, 2017

Test plan

#8708 (comment)


  • Did you search for similar issues before submitting this one?
    Yes

  • Describe the issue you encountered:
    While investigating URL bar slowness, I noticed suggestion.simpleDomainNameValue() was slow. It calls urlParse() which uses url.parse().
    When I replaced the node core implementation with fast-url-parser it got way faster (10K bookmarks, first keystroke "a" from 2000 ms to 1500 ms).

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    macOS

  • Brave Version (revision SHA):
    c002e3f

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.