Skip to content

faster datatables with estimated totals #8603

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

Merged
merged 6 commits into from
Mar 31, 2025
Merged

Conversation

wardi
Copy link
Contributor

@wardi wardi commented Dec 31, 2024

Second, complementary change for #8595

Proposed fixes:

Use estimated totals when tables are larger than 100000 rows.

Drops default unfiltered ajax call run time on an 11M row dataset from 4000ms to 150ms.

Features:

  • includes tests covering changes
  • includes updated documentation
  • includes user-visible changes
  • includes API changes
  • includes bugfix for possible backport

@wardi wardi force-pushed the 8602-datatablesview-estimate branch from bffb69b to 765a83d Compare December 31, 2024 18:39
@wardi wardi marked this pull request as ready for review January 7, 2025 13:28
@wardi wardi removed the To Discuss label Jan 14, 2025
@wardi
Copy link
Contributor Author

wardi commented Feb 26, 2025

@kowh-ai I've added "(estimated)" text to the total displayed when it was estimated in the data tables view.

@wardi
Copy link
Contributor Author

wardi commented Mar 27, 2025

@kowh-ai tests are green, this is ready for another look

Copy link
Contributor

@kowh-ai kowh-ai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT this looks solid. Happy to merge

@kowh-ai kowh-ai merged commit abcf9bd into master Mar 31, 2025
9 checks passed
@kowh-ai kowh-ai deleted the 8602-datatablesview-estimate branch March 31, 2025 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants