Currently we disable garbage collection on the Parsoid cluster.
There were originally gc bugs (T228346: PHP 7.2 garbage collector segfault) but there were also some performance improvements obtained by turning off gc (T230861: PHP 7.2 is very slow on an allocation-intensive benchmark).
We need to re-enable garbage collection (and fix any performance regressions) before we can use Parsoid directly on the main mediawiki cluster.
https://codesearch.wmflabs.org/search/?q=T230861&i=nope&files=&repos=