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 |
---|
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 Stats(double assemblyTime, int componentCount, int weight)
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.