Skip to content

Speed up [REDACTED by @stamparm] large responsing with Python 3? #4530

Description

@shadowzoom

When union JSON AUTO/json_arrayagg() is dumping large table (100k lines) per 1 request, regexing and parsing into csv is too slow. I see via logs that data response is already downloaded but sqlmap regexing and parsing that response is lil bit slow. It taked 20 minuts to finish (on i7, 16GB ram)
The CPU, disk usage (even ssd) is loading no more than 30-40% during that time

Some fast techinques in python 3:
https://stackoverflow.com/questions/42742810/speed-up-millions-of-regex-replacements-in-python-3/42747503#42747503
https://towardsdatascience.com/regex-performance-in-python-873bd948a0ea

Metadata

Metadata

Assignees

No one assigned

    Labels

    FUBARF*cked Up Beyond All Recognitioninvalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions