public static final class Page.Stats extends Object
Modifier and Type | Field and Description |
---|---|
double |
assemblyTime
Time, in milliseconds, to construct the page.
|
int |
componentCount
The total number of components in the page, including the root component.
|
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 and Description |
---|
Page.Stats(double assemblyTime,
int componentCount,
int weight) |
public final double assemblyTime
Page.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.public final int componentCount
public final int weight
public Page.Stats(double assemblyTime, int componentCount, int weight)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.