wiki.techinc.nl/includes/poolcounter
C. Scott Ananian a0503debb0 Provide previous parse results to parser when rendering
This patch lays the groundwork for incremental/selective parsing in
Parsoid by ensuring that we can pass previous cached parses through
the parse pipeline to Parsoid.  We do this by adding a new render
hint type, `previous-output`, and ensuring it is passed along.

Because revisions can contain a ParserOutput which is the combination
of separate ParserOutput objects for each of their slots, RenderedRevision
also contains a method to unsplit the combined ParserOutput to reconstruct
an original ParserOutput for use in incremental parsing.  Currently this
is mostly a stub, but illustrates how slot combination and splitting can
work, assuming those transformations are reversible.

Extra calls to ParserCache::getDirty() are added to some code paths
in order to ensure that any previously-cached ParserOutput is available
for selective update.  In order to mitigate any performance concerns,
these are only done for the Parsoid parser at the moment.  Future
patches will add additional metrics to quantify the cost/benefit ratio
of the additional cache lookups on these paths.

Bug: T363421
Bug: T371713
Change-Id: I440884f1d7e09c1ff9806f848b7b53a636367690
2024-08-23 17:41:55 -04:00
..
PoolCounter.php Fix various version mention for class_alias 2024-07-05 18:39:49 +02:00
PoolCounterClient.php PoolCounter: Adopt PSR logger in PoolCounter objects 2024-03-02 00:41:11 +00:00
PoolCounterConnectionManager.php
PoolCounterFactory.php PoolCounter: Adopt PSR logger in PoolCounter objects 2024-03-02 00:41:11 +00:00
PoolCounterNull.php Fix various version mention for class_alias 2024-07-05 18:39:49 +02:00
PoolCounterRedis.php Fix various version mention for class_alias 2024-07-05 18:39:49 +02:00
PoolCounterWork.php Fix various version mention for class_alias 2024-07-05 18:39:49 +02:00
PoolCounterWorkViaCallback.php Fix various version mention for class_alias 2024-07-05 18:39:49 +02:00
PoolWorkArticleView.php Provide previous parse results to parser when rendering 2024-08-23 17:41:55 -04:00
PoolWorkArticleViewCurrent.php Provide previous parse results to parser when rendering 2024-08-23 17:41:55 -04:00
PoolWorkArticleViewOld.php Provide previous parse results to parser when rendering 2024-08-23 17:41:55 -04:00