https://bugzilla.wikimedia.org/show_bug.cgi?id=46659

--- Comment #6 from Marc Ordinas i Llopis <[email protected]> ---
The patch I've uploaded to Gerrit is still a Work In Progress, but the basic
functionality is there.

Principal points:
- The database schema: I've opted for a (key, value) table as that allows
adding new stats without having to change the schema every time, which can be a
pain.
- The method of collecting the data is very rudimentary, but to start with I
didn't want to enter too much into Parsoid's core. There's a pretty good
library to do this kind of metrics at https://github.com/s2js/probes , but I'm
not sure how compatible it would be with our code…
- The data is passed by appending some new tags to the XML output, like
<perfstats>
  <perfstat type="time:parse">12345</perfstat>
</perfstats>

I'll appreciate comments and reviews :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to