To determine the cost of the addTransform, removeTransform and getTransform functions, profiling information is required. Alternative methods of transformer invocation can them be considered if the overhead is significant.
|mediawiki/services/parsoid||master||+9 -0||Added three new performance metrics to TokenTransformManager|
We have the gerrit patch which we can revive if we ever want it. We got the performance numbers from that patch which revealed that the transformer management work is about 3% of the parse time. This can potentially be improved in future iterations but is not a priority right now. I am going to mark this resolved for now.