I wonder if we could have some fast paths there. EditorBase::EndPlaceholderTransaction() and stuff under it take currently 12% of input.value setting.
Which method called from EndPlaceholderTransaction() is slow? If EditorBase::NotifyEditorObservers() is slow, we could make it faster with reducing nsIEditorObserver instances (we could make treat some of them as concrete classes).
It was many thing. I think I was profiling using Zoom, so sharing the profile isn't quite as easy as with Gecko profiler. I used Test 2 from bug 1346723 for testing.
You need to log in before you can comment on or make changes to this bug.