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

Feature/optimized table #162

Merged
merged 4 commits into from
Nov 24, 2020
Merged

Feature/optimized table #162

merged 4 commits into from
Nov 24, 2020

Conversation

nicmosc
Copy link
Member

@nicmosc nicmosc commented Nov 24, 2020

Profiling demo to show performance gain when using memoization on Table (i'm adding a space to the input):

ezgif-3-32efae775394

@nicmosc nicmosc added enhancement New feature or request patch Increment the patch version when merged labels Nov 24, 2020
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@nicmosc nicmosc self-assigned this Nov 24, 2020
@nicmosc nicmosc requested a review from larsbs November 24, 2020 10:04
@nicmosc
Copy link
Member Author

nicmosc commented Nov 24, 2020

@larsbs finally understood how to make sense of the profiler. You interact with the components to make them re-render, and you look at the longest re-renders on the page (the tall yellow lines). You can see how the memoized one is already half the size of the non-memoized one. So we're doing something right here ;)

@nicmosc nicmosc merged commit 72dc142 into master Nov 24, 2020
@nicmosc nicmosc deleted the feature/optimized-table branch November 24, 2020 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants