Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix performance issues with many edits + #2

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

germanocaumo
Copy link

  • Adds a 50 ms throttle to improve performance when there are too many messages
    • Only process the last message for each author
  • Includes Fix #60 ether/ep_cursortrace#61
  • Fix cursor left position in long lines by adding the font styles to the css before calculating the offset
  • Refactor the code a bit

tamo and others added 4 commits January 22, 2025 15:20
Adding FFEF to the worker so that the cursor can be at the end of the line
by copying computed lineHeight of the div to the worker span
by calculating outerdocbody's padding-top
- Adds a 50 ms throttle to improve performance when there are too many messages
  - Only process the last message for each author
- Fix cursor left position in long lines by add the font styles to the css before calculating the offset
- Refactor the code a bit
@germanocaumo germanocaumo changed the title Fix performance issues with many edits Fix performance issues with many edits + Jan 22, 2025
@fcecagno fcecagno merged commit d47961f into mconf:master Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants