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

Performance investigation for smooth scrolling #26

Open
Glodenox opened this issue Sep 26, 2020 · 1 comment
Open

Performance investigation for smooth scrolling #26

Glodenox opened this issue Sep 26, 2020 · 1 comment
Assignees
Labels
needs research Still need to figure out how to proceed on this issue

Comments

@Glodenox
Copy link
Owner

Investigate whether it is more performant to use negative margin-top values for the chat block instead of scrolling the page. The difference should be minimal - if any, but it is better to know for sure.

@Glodenox Glodenox added the needs research Still need to figure out how to proceed on this issue label Sep 26, 2020
@Glodenox Glodenox self-assigned this Sep 26, 2020
@Glodenox
Copy link
Owner Author

Initial testing with a marginTop-based implementation shows little difference in performance on a Raspberry Pi. That said, the channel being used to test also caused issues without smooth scrolling enabled. It would probably best to create a test suite to emulate chat events being fired and maybe monitoring the fps and other parameters at that point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs research Still need to figure out how to proceed on this issue
Projects
None yet
Development

No branches or pull requests

1 participant