Improve listenTo() and fire() function execution time #6195
Labels
package:font
package:ui
resolution:expired
This issue was closed due to lack of feedback.
status:stale
type:improvement
This issue reports a possible enhancement of an existing feature.
type:performance
This issue reports a performance issue or a possible performance improvement.
📝 Provide detailed reproduction steps (if any)
During the initialization of an editor with short content,
listenTo
andfire
both combined account for ~9% self execution time of the entire initialization time (~110ms out of 1.23s).We should try to improve this.
Here is a devtools profiler dump that can be viewed later on: editor-init-small.zip.
✔️ Expected result
Faster 🏃♀️
❌ Actual result
Slow 🐢
📃 Other details
This is a follow-up of #5880.
master
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: