[GH-ISSUE #91] Opening a file in Notepad example is really slow. #56

Closed
opened 2026-05-05 11:34:08 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @parro-it on GitHub (May 2, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/91

On my machine, opening a 30Kb file take ~11s.
The same file opened in libui-node nodepad example take < 1s

Originally created by @parro-it on GitHub (May 2, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/91 On my machine, opening a 30Kb file take ~11s. The same file opened in `libui-node` nodepad example take < 1s
Author
Owner

@kusti8 commented on GitHub (May 3, 2018):

Yeah I looked through the performance logs and it seems that its all due to react processing. Once the state gets so big, the diffs that it has to do get too big. Most work is being done in commitAllHostEffects, going all the way down to performWork. There's nothing I can really do.

<!-- gh-comment-id:386160754 --> @kusti8 commented on GitHub (May 3, 2018): Yeah I looked through the performance logs and it seems that its all due to react processing. Once the state gets so big, the diffs that it has to do get too big. Most work is being done in `commitAllHostEffects`, going all the way down to `performWork`. There's nothing I can really do.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#56
No description provided.