Skip to content

chatbot/__benchmarks__/runner

This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.

  • Package: @leipzigtreechat/chatbot
  • Source file: packages/chatbot/src/__benchmarks__/runner.ts

No summary is available for this file.

function runBenchmarkCase(fixture: BenchmarkFixture): Promise<BenchmarkCaseResult>

Parameters

  • fixture (BenchmarkFixture) Returns
  • Promise<BenchmarkCaseResult> Defined at: line 88
function runBenchmarkSuite(fixtures: BenchmarkFixture[], onProgress: (event: BenchmarkProgressEvent) => void | Promise<void>): Promise<BenchmarkRunResult>

Parameters

  • fixtures (BenchmarkFixture[])
  • onProgress ((event: BenchmarkProgressEvent) => void | Promise) Returns
  • Promise<BenchmarkRunResult> Defined at: line 251
type BenchmarkProgressEvent = {
completedCases: number;
totalCases: number;
result: BenchmarkCaseResult;
}

Defined at: line 15