Skip to content

wpull spends a lot of time in add_cookie_header #117

@ivan

Description

@ivan

https://github.com/uber/pyflame + https://github.com/brendangregg/FlameGraph shows that for some crawls, 12-30% of the time is spent in add_cookie_header, which does a lot of URL parsing and clears the cookie jar too often (of which one component is a slow deepcopy).

Note: the configure step for pyflame is

PKG_CONFIG_PATH=~/.pyenv/versions/3.7.0/lib/pkgconfig ./configure

with uber-archive/pyflame#153 applied

flamegraphs.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions