mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
06ae53fdfe
Only call back a few callbacks per reactor iteration from the template fetch request queue. This changes the expansion pattern from a (memory intensive) breadth-first expansion to something quite close to depth-first expansion. Additionally, retrieved pages are quickly added to the page cache so that a lot of request queuing is avoided in favor of synchronous expansion from the cache. On pages like Barack Obama that previously ran out of memory after consuming node's 1.6G heap limit, expansion now runs in relatively constant 100-300M resident (so far, still running). Change-Id: Ie34a1eeff00d868416de45ef8d289898258f560c |
||
---|---|---|
.. | ||
jquery | ||
parser | ||
qunit | ||
rangy | ||
sandbox | ||
ve |