Class Page.Stats
- java.lang.Object
- 
- org.apache.tapestry5.internal.structure.Page.Stats
 
- 
- Enclosing interface:
- Page
 
 public static final class Page.Stats extends java.lang.Object Page construction statistics for the page.- Since:
- 5.3
 
- 
- 
Field SummaryFields Modifier and Type Field Description doubleassemblyTimeTime, in milliseconds, to construct the page.intcomponentCountThe total number of components in the page, including the root component.intweightThe "weight" of the page is an arbitrary number that factors the number of components, mixins, component template elements, bindings, and other factors.
 - 
Constructor SummaryConstructors Constructor Description Stats(double assemblyTime, int componentCount, int weight)
 
- 
- 
- 
Field Detail- 
assemblyTimepublic final double assemblyTime Time, in milliseconds, to construct the page. This includes time to construct components inside the page, as well as hooking everything together, and includes the execution ofPage.loaded(). You'll often see that the first page is expensive to construct, and later pages that use a similar mix of components are very cheap.
 - 
componentCountpublic final int componentCount The total number of components in the page, including the root component. This does not include the number of mixins.
 - 
weightpublic final int weight The "weight" of the page is an arbitrary number that factors the number of components, mixins, component template elements, bindings, and other factors.
 
- 
 - 
Constructor Detail- 
Statspublic Stats(double assemblyTime, int componentCount, int weight) 
 
- 
 
-