Page MenuHomePhabricator

Collect per-attribute stats during Parsoid HTML attribute stripping
Closed, ResolvedPublic

Description

@cscott proposed that it might be useful to collect per-stripped-attribute contribution to the Parsoid HTML so that we can make decisions per-attribute to strip or not.

So, the current code for stripping might need to be rewritten to strip attributes one at a time and collect stats.

Given this, it might also be useful to look at a larger set of attributes we could strip beyond the initial set of attributes used to generate stats for T272331

Event Timeline

Arlolra updated the task description. (Show Details)
Arlolra triaged this task as Medium priority.Jun 2 2022, 5:54 PM
Arlolra moved this task from Needs Triage to Performance on the Parsoid board.

Change 805416 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[mediawiki/services/parsoid@master] Collect metrics per stripped attribute

https://gerrit.wikimedia.org/r/805416

Change 805416 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Collect metrics per stripped attribute

https://gerrit.wikimedia.org/r/805416