Community
Participate
Working Groups
Currently the read-only controller in XMLNode's *always* traverses nodes to keep read-only state accurate. See for example syncChildEditableState(Node child) in NodeContainer If there is never any read-only nodes in document, this can cause *lots* of extra DOM traversals. While these ultimately result in "no-ops", so not too expensive, for large documents, with lots of elements, can result in a million "no-ops" for no good reason. A better design would be to quickly decide to do nothing, until at least one node was set to be read-only.
Adding my name to the cc list as we are now tracking performance issues more closely. Please remove the performance keyword if this is not a performance bug.