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

Core: ResolveFieldData Performance Improvement #4797

Closed
melloware opened this issue Aug 18, 2023 · 0 comments · Fixed by #4798 or #4800
Closed

Core: ResolveFieldData Performance Improvement #4797

melloware opened this issue Aug 18, 2023 · 0 comments · Fixed by #4798 or #4800
Assignees
Labels
Type: Performance Issue is performance or optimization related
Milestone

Comments

@melloware
Copy link
Member

Original Report: primefaces/primevue#4296

The resolveFieldData utility currently uses Object.keys as its first check before trying to return data. The call to Object.keys can get quite expensive and result in bad performance. This shows when its called for a large data set for a large number of components.

image

@melloware melloware self-assigned this Aug 18, 2023
@melloware melloware added the Type: Performance Issue is performance or optimization related label Aug 18, 2023
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 18, 2023
@melloware melloware added this to the 10.0.0 milestone Aug 18, 2023
melloware added a commit to melloware/primereact that referenced this issue Aug 18, 2023
melloware added a commit to melloware/primereact that referenced this issue Aug 18, 2023
@melloware melloware removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 18, 2023
melloware added a commit to melloware/primereact that referenced this issue Aug 18, 2023
@melloware melloware modified the milestones: 10.0.0, 9.7.0 Aug 22, 2023
@melloware melloware modified the milestones: 9.7.0, 10.0.0 Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Performance Issue is performance or optimization related
Projects
None yet
1 participant