Skip to content

Conversation

@philippjfr
Copy link
Member

@philippjfr philippjfr commented Jul 18, 2025

Tabulator.js by default enables various resize observers that re-render when the container or the page is resized. These potentially trigger multiple times in an resize event which can be very slow for large tables. In Bokeh/Panel we already handle resize events via the after_resize method on each model, so Tabulator is resized 2-3x on a window resize event because both our resize handling and the automatic resize handling that Tabulator installs is enabled.

Before

tabulator_resize_before

After

table_resize_after

@codecov
Copy link

codecov bot commented Jul 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.27%. Comparing base (7af6d06) to head (b99f063).
⚠️ Report is 124 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8066      +/-   ##
==========================================
+ Coverage   71.19%   71.27%   +0.07%     
==========================================
  Files         345      345              
  Lines       53803    53803              
==========================================
+ Hits        38307    38349      +42     
+ Misses      15496    15454      -42     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Coderambling
Copy link
Collaborator

Coderambling commented Jul 18, 2025

Nice optimization! Was this issue surfaced via observation or from performance / unit testing?

@Coderambling Coderambling added component: tabulator Related to the Tabulator widget performance labels Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tabulator Related to the Tabulator widget performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants