Output Transform Pipeline convert the parsercache HTML string to a DOM. In the process, they currently load data-mw & data-parsoid attributes (which involves converting the string attributes to JSON and then to native classes). This is unnecessary and wasteful since most OTP stages only inspect a small number of nodes and their data-parsoid & data-mw properties.
To improve performance, we need lazy loading of data-parsoid & data-mw properties, especially in post-cache transforms like OTP.