Skip to content

Commit ea2898e

Browse files
committed
fix(bench): separate memory samples from request-rate metadata
The caller adds requestRate alongside targetId and run. Exclude it from the sampling function's return type to remove the missing-field and duplicate-field diagnostics without changing runtime behavior.
1 parent d2a0f5d commit ea2898e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bench/memory/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ async function measure(
194194
requestRate: number,
195195
): Promise<
196196
| { skipped: string }
197-
| { measurement: Omit<MemoryMeasurement, 'targetId' | 'run'>, samples: MemorySample[], load: LoadResult }
197+
| { measurement: Omit<MemoryMeasurement, 'targetId' | 'run' | 'requestRate'>, samples: MemorySample[], load: LoadResult }
198198
> {
199199
const booted = await boot(target, Boolean(scenario.requiresDb), scenario)
200200
if ('skipped' in booted) return booted

0 commit comments

Comments
 (0)