SkiaPerfGcsAdaptor class

Handle writing and updates of Skia perf GCS buckets.

Constructors

SkiaPerfGcsAdaptor(Bucket _gcsBucket)
Construct the adaptor given the associated GCS bucket where the data is read from and written to.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readPoints(String objectName) Future<List<SkiaPerfPoint>>
Read a list of SkiaPerfPoint that have been previously written to the GCS file with name objectName.
toString() String
A string representation of this object.
inherited
writePoints(String objectName, List<SkiaPerfPoint> points) Future<void>
Write a list of SkiaPerfPoint into a GCS file with name objectName in the proper json format that's understandable by Skia perf services.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

computeObjectName(String githubRepo, String? revision, DateTime commitTime, String taskName) Future<String>
Compute the GCS file name that's used to store metrics for a given commit (git revision).

Constants

version → const int
Used by Skia to differentiate json file format versions.