Skip to content

feat(sdk): add Benchmark and AsyncBenchmark classes#714

Merged
sid-rl merged 9 commits intonextfrom
siddarth/benchmark-sdk
Dec 20, 2025
Merged

feat(sdk): add Benchmark and AsyncBenchmark classes#714
sid-rl merged 9 commits intonextfrom
siddarth/benchmark-sdk

Conversation

@sid-rl
Copy link
Contributor

@sid-rl sid-rl commented Dec 18, 2025

Add SDK classes for managing benchmarks:

  • Benchmark: Synchronous class for benchmark operations

    • get_info(): Retrieve benchmark details
    • update(): Update benchmark metadata
    • run(): Start a benchmark run, returns BenchmarkRun
    • add_scenarios(): Add scenarios to the benchmark
    • remove_scenarios(): Remove scenarios from the benchmark
    • list_runs(): List benchmark runs with filtering
  • AsyncBenchmark: Async version with the same interface

  • New TypedDicts for SDK params:

    • SDKBenchmarkUpdateParams
    • SDKBenchmarkStartRunParams
    • SDKBenchmarkListRunsParams
  • Unit tests for both sync and async classes

  • E2E smoketests

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants