Skip to content
This repository was 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

@ayumi ayumi added the perf label May 4, 2017
ayumi added a commit that referenced this issue May 4, 2017

Verified

This commit was signed with the committer’s verified signature.
cezaraugusto Cezar Augusto
Fix #8707

Auditors: @bsclifton @bbondy

Test Plan:
Make sure automated tests pass.
ayumi added a commit that referenced this issue May 5, 2017

Verified

This commit was signed with the committer’s verified signature.
cezaraugusto Cezar Augusto
Fix #8707

Test Plan:
Make sure automated tests pass.
@luixxiul luixxiul added this to the 0.15.3 milestone May 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.