angular-ui/ui-grid
View on GitHubGrid is build twice for each data-change when fastWatch is enabled
Open
#6,172 opened on Apr 24, 2017
help wantedseverity: performance
Description
Can be observed on the tutorial page: http://ui-grid.info/docs/#/tutorial/404_large_data_sets_and_performance
Due to these lines (https://github.com/angular-ui/ui-grid/blob/19455276ace7eef5c8dab8f719c17d7c4c31ae3a/src/js/core/directives/ui-grid.js#L56-L57) assigning a new array to the data property rebuilds the rows twice for the same change.
This has a major impact on load times of the grid, when complex rowProcessors are registered (treeBase, sort, etc.)