IdeaCredIdeaCred

sgl-project/genai-bench

87

A Rust reimplementation of genai-bench for benchmarking LLM serving systems at high concurrency with accurate timing and industry-standard metrics

What's novel

A Rust reimplementation of genai-bench for benchmarking LLM serving systems at high concurrency with accurate timing and industry-standard metrics

Code Analysis

5 files read · 2 rounds

A distributed benchmarking framework built on Locust that orchestrates high-throughput API load tests for GenAI models across multiple workers to collect and aggregate detailed metrics like latency, token counts, and error rates.

Strengths

Excellent separation of concerns with a clear Master/Worker architecture; robust scenario system allowing flexible input/output token distributions; effective use of greenlets for non-blocking metric aggregation; strong modularity in user definitions and metric collectors.

Weaknesses

Test coverage appears moderate, focusing on basic functionality rather than deep edge cases in the distributed communication layer; error handling relies heavily on Locust's built-in mechanisms rather than custom retry logic or circuit breakers within the framework itself.

Score Breakdown

Innovation
4 (25%)
Craft
85 (35%)
Traction
58 (15%)
Scope
88 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+2
Concept Novelty+0

Craft

Ci+5
Tests+8
Polish+2
Releases+4
Has License+5
Code Quality+24
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+20
Stars+27
Hn Points+0
Watchers+6
Early Traction+0
Devto Reactions+0
Community Contribs+5

Scope

Commits+8
Languages+5
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+8
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

126

Contributors

24

Files

249

Active weeks

29

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

277

Forks

49

License

MIT