Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions benchmarks/ai-gateway/ai-gateway.bench.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/**
* AI Gateway benchmark, built on @benchsdk/runner's runBenchmark with
* `groupBy: 'round'`. Fairness is the whole point (see AI_GATEWAYS.md): every
* gateway's Nth iteration must run at roughly the same point in time as every
* other gateway's Nth iteration, so no gateway is favored by running during a
* different network condition. `groupBy: 'round'` provides exactly that — one
* task per gateway per round, taking turns — replacing the bespoke round-robin
* loop this file used to hand-roll.
* AI Gateway benchmark. Declarative — exports `config` + `task`; `bench run`
* owns the entrypoint. Configured with `groupBy: 'round'`. Fairness is the
* whole point (see AI_GATEWAYS.md): every gateway's Nth iteration must run at
* roughly the same point in time as every other gateway's Nth iteration, so no
* gateway is favored by running during a different network condition.
* `groupBy: 'round'` provides exactly that — one task per gateway per round,
* taking turns — replacing the bespoke round-robin loop this file used to
* hand-roll.
*
* Declared as two phases (cold, warm); the framework owns the phase boundary
* and exposes it via `ctx.phase`, so the task branches on phase identity, not
Expand Down
88 changes: 0 additions & 88 deletions benchmarks/browser/browser-task.ts

This file was deleted.

63 changes: 0 additions & 63 deletions benchmarks/browser/browser-throughput-task.ts

This file was deleted.

Loading
Loading