Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchmarkConfigYAML ¶
type BenchmarkConfigYAML struct {
Models []ModelConfig `yaml:"models"`
TestScenarios []ScenarioConfig `yaml:"test_scenarios"`
Metrics []string `yaml:"metrics"`
Output OutputConfig `yaml:"output"`
}
type BenchmarkReport ¶
type BenchmarkReport struct {
Results []services.BenchmarkResult
Summary string
ReportPath string
}
type BenchmarkRequest ¶
type BenchmarkService ¶
type BenchmarkService interface {
RunBenchmark(ctx context.Context, req BenchmarkRequest) (*BenchmarkReport, error)
}
type Config ¶
type Config struct {
Benchmark BenchmarkConfigYAML `yaml:"benchmark"`
}
Config structures mirroring configs/benchmark.yaml
type DefaultBenchmarkService ¶
type DefaultBenchmarkService struct {
Runner *services.BenchmarkRunner
}
func NewDefaultBenchmarkService ¶
func NewDefaultBenchmarkService() *DefaultBenchmarkService
func (*DefaultBenchmarkService) RunBenchmark ¶
func (s *DefaultBenchmarkService) RunBenchmark( ctx context.Context, req BenchmarkRequest, ) (*BenchmarkReport, error)
type ModelConfig ¶
type OutputConfig ¶
type RealModelWrapper ¶
type RealModelWrapper struct {
// contains filtered or unexported fields
}
RealModelWrapper adapts the generation.Service to TraceGeneratorModel interface
func (*RealModelWrapper) Name ¶
func (m *RealModelWrapper) Name() string
type ScenarioConfig ¶
Click to show internal directories.
Click to hide internal directories.