angular-ui/ui-grid

perf(refreshCanvas): Running too often?

已關閉

#2,139 建立於 2014年11月18日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (2,496 個分叉)batch import
help wantedseverity: performance

倉庫指標

星標
 (5,395 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南