Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use shared `DomElementSchemaRegistry` instance for `ServerRendererFactory2` #28150
This performance improvement is for
Right now the
A 0x flamegraph illustrates the problem:
Since the schema is never modified, but only used in a read-only fashion, it should be possible to re-use a single instance instead, which avoids quite a bit of overhead per request.
We can verify the improvement using another 0x flamegraph: