@Transferable public class CompilationMetricsArtifact extends Artifact<CompilationMetricsArtifact>
Modifier | Constructor and Description |
---|---|
protected |
CompilationMetricsArtifact(Class<? extends Linker> linker,
int permutationId) |
|
CompilationMetricsArtifact(int permutationId) |
public long getCompileElapsedMilliseconds()
public long getElapsedMilliseconds()
public int[] getJsSize()
public int getPermutationId()
public String getPermutationDescription()
public int hashCode()
Artifact
Artifact.getComparableArtifactType()
must
declare a final implementation which returns the same hash code for objects
for which Artifact.compareToComparableArtifact(Artifact)
returns 0.hashCode
in class Artifact<CompilationMetricsArtifact>
public CompilationMetricsArtifact setCompileElapsedMilliseconds(long compileElapsedMilliseconds)
compileElapsedMilliseconds
- wall clock time elapsed since start of
compilationpublic CompilationMetricsArtifact setElapsedMilliseconds(long elapsedMilliseconds)
elapsedMilliseconds
- wall clock time elapsed since JVM startuppublic void setJsSize(SizeBreakdown[] sizeBreakdowns)
sizeBreakdowns
- breakdown of sizes in JavaScript fragmentspublic CompilationMetricsArtifact setPermutationDescription(String permutationDescription)
permutationDescription
- human readable description of the permutationprotected int compareToComparableArtifact(CompilationMetricsArtifact o)
Artifact
Artifact.hashCode()
.compareToComparableArtifact
in class Artifact<CompilationMetricsArtifact>
protected final Class<CompilationMetricsArtifact> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<CompilationMetricsArtifact>
Copyright © 2018. All rights reserved.