angular-ui/ui-grid

Performance issue in IE and Edge

Open

#5,906 opened on Dec 20, 2016

View on GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (2,496 forks)batch import
help wantedseverity: performance

Repository metrics

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

Description

Using the ui-grid is very slow in IE and Edge when I use multiple grid's on a page. It is also slow when there is a large amount of data.

Drawing the grid is slowing down other processes and block the browsers UI-thread. When I am using IE , it takes less then a second to open a tutorial page. However when I open "404 Large Data Sets and Performance", it takes multiple seconds before the page will be loaded, because the UI-thread is blocked. In other browsers like Chrome this page will load instantly.

When using a simple grid when a few columns and a few rows, there is no problem. But when placing multiple grids on a single page, this slows down other requests. Some request will take more then 1 second to complete in IE. In Chrome this is much faster. Here is a plunkr with multiple grid which will delay some requests in IE.

Contributor guide