(measurements)
| 9711 | }; |
| 9712 | |
| 9713 | function getTotalTime(measurements) { |
| 9714 | // TODO: return number of DOM ops? could be misleading. |
| 9715 | // TODO: measure dropped frames after reconcile? |
| 9716 | // TODO: log total time of each reconcile and the top-level component |
| 9717 | // class that triggered it. |
| 9718 | var totalTime = 0; |
| 9719 | for (var i = 0; i < measurements.length; i++) { |
| 9720 | var measurement = measurements[i]; |
| 9721 | totalTime += measurement.totalTime; |
| 9722 | } |
| 9723 | return totalTime; |
| 9724 | } |
| 9725 | |
| 9726 | function getDOMSummary(measurements) { |
| 9727 | var items = []; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…