Documentation ¶
Overview ¶
Package benchmark provides interfaces related to rebuild benchmarks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BenchmarkMode ¶
type BenchmarkMode string
const ( SmoketestMode BenchmarkMode = "smoketest" AttestMode BenchmarkMode = "attest" )
type Package ¶
Package corresponds to one or more versions of a package to rebuild.
* Only the versions provided will be rebuilt. * All supported artifacts will be built for each provided version.
TODO: Possible extension of this form would include specific artifacts:
{ ..., "artifacts": {"1.2.0": [...]}, }
type PackageSet ¶
PackageSet is a grouping of packages to evaluate rebuilds.
func ReadBenchmark ¶
func ReadBenchmark(filename string) (ps PackageSet, err error)
type RunBenchOpts ¶
type RunBenchOpts struct { Mode BenchmarkMode // RunID is the ID for this run. Leave blank for one to be generated. RunID string MaxConcurrency int }
Click to show internal directories.
Click to hide internal directories.