Skip to content

Much slower than url.parse for urls with query strings #15

@qzb

Description

@qzb

I've tested uriparser's performance across multiple versions of node. Unfortunately for this library, times have changed. When url has query string builtin url.parse is faster, much faster. For urls without query string uriparser still beats url.parse, but this is generally lightweight operation, so difference is rather small. Anyhow, I think there should be some disclaimer telling that uriparser should not be used with modern node.js versions.

I've been using script from my pull request (#14).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions