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

perf: decrease virtual scroll render throttling to 10ms #1648

Merged
merged 5 commits into from
Aug 23, 2024

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Aug 22, 2024

  • see SlickGrid comment for more info
  • a lower thottling delay (10ms instead of previously 50ms) will show blank area for a much shorter period whenever we scroll to an uncached scroll position (for example completely scroll to bottom of large grid)
  • NOTE: a throttling of 0ms causes flickering and/or other issues in some cases, but 5ms seems like a good number to use

- see SlickGrid [comment](6pac/SlickGrid#219 (comment)) for more info
- a lower thottling delay will show less blank area after scrolling to an uncached scroll position (using the scroll to position it very far down)
- NOTE: a throttling of 0ms causes flickering in some cases, but 5ms seems like a good number to use
Copy link

stackblitz bot commented Aug 22, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.8%. Comparing base (559d7de) to head (d76b738).
Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #1648    +/-   ##
=======================================
  Coverage    99.8%   99.8%            
=======================================
  Files         199     199            
  Lines       21874   21874            
  Branches     7176    7037   -139     
=======================================
  Hits        21811   21811            
- Misses         57      63     +6     
+ Partials        6       0     -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghiscoding ghiscoding changed the title perf: decrease virtual scroll render throttling to 5ms perf: decrease virtual scroll render throttling to 10ms Aug 23, 2024
@ghiscoding ghiscoding merged commit 7b01cc2 into master Aug 23, 2024
8 checks passed
@ghiscoding ghiscoding deleted the chore/perf-lower-render-throttling branch August 23, 2024 04:14
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.

2 participants