-
Notifications
You must be signed in to change notification settings - Fork 840
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
[EuiDataGrid] track re-renders from hooks #4347
[EuiDataGrid] track re-renders from hooks #4347
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
Thanks for taking this first pass! It's noisy in the current state but the benefit is there. Some thoughts - Hook formI'd love to see Reporting changed dependenciesDetecting which dependencies of a useMemo changed, similar to usePerformanceCheck, would be super useful in Performance timings don't seem reported correctlyI created a snapshot where I can see the LodashWe're trying to migrate off any dependencies on Lodash - fine to include it for now while figuring out exactly how we want things to work, but we'll want to avoid it if reasonably possible in the end. |
Awesome! This is already showing some places that could be addressed better. I still don't think the performance mark/measure is working quite as expected, and it isn't adding much value to the output (either console nor performance devtools). Let's remove the
|
@chandlerprall what are we going to do with this PL? Do you still need that changes? If yes probably it make sense to update the description and close checklist items |
@alexwizp 👍 thanks for the ping! I just brought it up with @flash1293 who is going to take a look at using this to help debug initial render/mount performance in the datagrid. I can own any further changes to this PR, especially as there's likely conflicts with the virtualization branch. @VladLasitsa thank you very much for doing the initial work here! It's meaningful and I predict it will be very useful for other components as well. |
👋 Hey there. This PR hasn't had any activity for 90 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
❌ We're automatically closing this PR due to lack of activity. Please comment if you feel this was done in error. |
Summary
Draft
Checklist