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: ACO table rendering performances #3439

Merged
merged 21 commits into from
Jul 28, 2023
Merged

fix: ACO table rendering performances #3439

merged 21 commits into from
Jul 28, 2023

Conversation

leopuleo
Copy link
Contributor

Changes

With this PR we aim to solve some table rendering performances issues by:

  • memoizing table column definition
  • memoizing Table rows and cells components
  • removing some out-of-date methods in useAcoList
  • removing <DialogMove /> in favour of useMoveToFolderDialog hook: this has already been implemented inside app-file-manager - this has already been planned with this PR.

How Has This Been Tested?

Manually

In the table below, we compare the times to load the records and render the table at each pagination.

10°
Old 3013 2952 3493 3902 4361 5129 5493 6117 6977 7413
New 2060 2467 2457 2333 2481 2697 3321 3106 3361 3698

@leopuleo leopuleo added the aco label Jul 25, 2023
@leopuleo leopuleo added this to the 5.37.1 milestone Jul 25, 2023
@leopuleo leopuleo requested a review from brunozoric July 25, 2023 14:14
@leopuleo leopuleo self-assigned this Jul 25, 2023
brunozoric
brunozoric previously approved these changes Jul 28, 2023
@leopuleo leopuleo changed the base branch from next to dev July 28, 2023 09:07
@leopuleo leopuleo dismissed brunozoric’s stale review July 28, 2023 09:07

The base branch was changed.

@leopuleo leopuleo merged commit 09b3f5b into dev Jul 28, 2023
58 checks passed
@leopuleo leopuleo deleted the leo/fix/various-aco branch August 23, 2023 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants