#36520: Performance Regression in parse_header_params
---------------------------------+------------------------------------
Reporter: David Smith | Owner: (none)
Type: Bug | Status: new
Component: HTTP handling | Version: dev
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by Natalia Bidart):
The benchmark script can be found
[https://gist.github.com/nessita/6b4e659f8af0ce9fbd4c78ca0093a0fe here].
Since `werkzeug` performs nearly as slowly as `get_params(bytes)`, and
although I’m hesitant (but not opposed) to reverting the fix, would it be
acceptable to address this by encoding to bytes the header line while
continuing to use Python's stdlib `Message().get_params()`?
--
Ticket URL: <https://code.djangoproject.com/ticket/36520#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/010701988b2829b8-cc7cd860-ab97-432d-b4bf-8f6b79bcc4ec-000000%40eu-central-1.amazonses.com.