benchmarkruntime

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package benchmarkruntime is the process adapter for the shipped Inspect worker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatalogJSON

func CatalogJSON() []byte

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func New

func New(directory string) (*Adapter, error)

func (*Adapter) DatasetKey

func (a *Adapter) DatasetKey(id string) string

func (*Adapter) DownloadDataset

func (a *Adapter) DownloadDataset(
	ctx context.Context, id, cacheDir string, receive func(benchmarks.DatasetTransfer) error,
) error

func (*Adapter) Execute

func (a *Adapter) Execute(
	ctx context.Context, request benchmarks.WorkerRequest, receive func(benchmarks.Event) error,
) error

func (*Adapter) Prepare

func (a *Adapter) Prepare(ctx context.Context) error

func (*Adapter) Ready

func (a *Adapter) Ready() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL