Documentation
¶
Index ¶
Constants ¶
View Source
const (
OutputDir = "/tmp"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dragonfly ¶
type Dragonfly interface {
// Run runs all benchmarks.
Run(context.Context, string) error
// RunByFileSizes runs benchmarks by file sizes.
RunByFileSizes(context.Context, string, backend.FileSizeLevel) error
// DownloadFileByDfget downloads file by dfget.
DownloadFileByDfget(context.Context, backend.FileSizeLevel) error
// DownloadFileByProxy downloads file by proxy.
DownloadFileByProxy(context.Context, backend.FileSizeLevel) error
// Cleanup cleans up the downloaded files.
Cleanup(context.Context) error
}
Dragonfly represents a benchmark runner for Dragonfly.
Click to show internal directories.
Click to hide internal directories.