angular-ui/ui-grid

perf(refreshCanvas): Running too often?

Geschlossen

#2.139 geöffnet am 18.11.2014

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
help wantedseverity: performance

Repository-Metriken

Stars
 (5.395 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide