Page MenuHomePhabricator

Request for parser performance metrics
Open, Needs TriagePublic

Description

As part of T326317, we looked for ways to monitor the legacy (non-Parsoid) parser and its cache, and found a few shortcomings worth mentioning. These are some metrics we'd like to see, and if others approve perhaps we can start implementation:

  • Timing for wikitext parse
    • Wall time
    • CPU time
    • Outliers such as P95, P99...
  • Breakdown of the source of parse requests (eg. API, pageview, ...)
  • Size of a typical parser cache entry
    • Average size
    • Outliers such as P99
  • Timing to save a page

Event Timeline

Hi @awight
In the performance team, we can readly address your last bullet point:
the time it takes to save a page is measured by the saveTiming metric. You can find the graphs in our grafana dashboards

The Content Transform Team might be better positioned to point you to any existing metrics they track for your specific use case.

lmata subscribed.

Please let me know if there is anything specific we can assist with.