angular-ui/ui-grid

[Performance Increase] Replace prototype forEach/map within ui-grid for better performance

Open

#6,960 opened on Apr 19, 2019

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
good first issuegrid-coreseverity: performance

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

http://jsben.ch/N3AVA

Looking at the performance of the faster ForEach/map functions written you can see that significant performance increase happens over the built in forEach/map prototype on a javascript array.

I saw that ui-grid uses the built in prototypes and figured they could use a performance increase so that ui-grid becomes more responsive with larger grid sizes. The larger the array, the more significant of a performance increase it has!

Contributor guide