angular-ui/ui-grid

perf(refreshCanvas): Running too often?

Open

#2.139 aberto em 18 de nov. de 2014

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
help wantedseverity: performance

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

In pulling some simple CPU profiles it seems like a disproportionate amount of time is spent recalculating header heights when they haven't changed... There should be a way to skip this while scrolling as it's unneeded.

However we can't simply do the calculation once and be done because toggling grid options could theoretically alter header height.

Guia do colaborador