Skip to content

Commit a6a2914

Browse files
author
brett-bonner_infodesk
committed
fix(test): align the chunk-overhead perf baseline with always-on framing
The baseline arm asserted supportsChunking === false, a state that no longer exists — framing is always on and the capability is always true. The comparison itself is unchanged: the high ceiling makes the 20 MiB response one frame, so the arm still measures the effectively single-frame path. (Slipped local gates: the perf suite only runs with TYWRAP_PERF_BUDGETS=1, which check:all leaves off.)
1 parent 1f90201 commit a6a2914

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

test/data-plane-perf.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,13 +407,14 @@ describePerf('data-plane perf: chunk overhead vs same-run single-frame', () => {
407407
return;
408408
}
409409

410-
// Baseline: high-ceiling single-frame transport (no chunking). The whole
411-
// 20 MiB response is one JSONL line.
410+
// Baseline: high-ceiling transport. Framing is always on, but the whole
411+
// 20 MiB response fits one frame under this ceiling, so this arm measures
412+
// the effectively-single-frame path.
412413
const single = singleFrameTransport();
413414
await single.init();
414415
let singleMedian = 0;
415416
try {
416-
expect(single.capabilities().supportsChunking).toBe(false);
417+
expect(single.capabilities().supportsChunking).toBe(true);
417418
let calls = 0;
418419
singleMedian = await medianMs(
419420
async () => {

0 commit comments

Comments
 (0)