Hi all, I had noticed that in MarkupWriterImpl every time when element event start/end is fired, collection of listeners is recreated, probably to prevent CME, better would be recreate it only when it is modified, see the issue with a patch: https://issues.apache.org/jira/browse/TAP5-1532.
Denis
