Page MenuHomePhabricator

Excessive parses in the downgrade path
Open, LowPublic

Description

Parsoid::downgrade() does a parse/serialization and then ParsoidHandler::html2wt does another one. We can maybe think of a better way to pass things around to avoid that.

https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/583787/3/extension/src/Rest/Handler/ParsoidHandler.php#677

Event Timeline

Arlolra moved this task from Needs Triage to Performance on the Parsoid board.