Skip to content

perf(runtime): skip plain text runs in the deferred script tokenizer - #9294

Open
deepcoldy wants to merge 1 commit into
mainfrom
perf/stream-ssr-tokenizer-skip
Open

deepcoldy wants to merge 1 commit into
mainfrom
perf/stream-ssr-tokenizer-skip

Conversation

@deepcoldy

Copy link
Copy Markdown
Contributor

Summary

When a streaming SSR request has deferred loader data (defer() or a Promise in loader data), DeferredScriptOutputCoordinator.writeReact feeds every char of React's output, including the ~24 KB template shell, through an HTML tokenizer to find safe points for the router's resolver scripts. Each char costs up to two isSafeBoundary() checks plus the consume() switch, and the char-class helpers ran a RegExp. #9016 skipped this only when no resolver can be queued. On the two deferred bench pages below, the coordinator alone took about 2.0 ms and 7.6 ms per response.

Most chars can only extend the current token. This PR consumes them as whole runs:

  • consumeRun(chunk, start) runs before each consume() in writeReact:
    • text: jumps to the next <.
    • quoted attribute values: jump to the closing quote.
    • tag and attribute names: printable-ASCII runs are lowercased at once. Non-ASCII chars still go through consume().
    • script/style/textarea raw text: jumps to the next < when no partial </tag match is pending. The $RC/$RS/$RX/$RB/$RR detection tail is set to exactly the per-char value.
    • comments, declarations, bogus comments and the rest of an end tag: jump to the next >.
  • consumeAttributes() adds whitespace and complete name="value" attributes (ASCII name starting with a letter, closing quote in the same chunk) in one step.
  • isAsciiAlpha / isWhitespace compare char codes.
  • A doc comment on consume() says both fast paths mirror it and must change with it.

Behaviour: every state transition still happens in consume(), and a run never leaves its state, so isSafeBoundary() cannot change inside a run. Emitted bytes, resolver positions and order, and finish() errors are unchanged. On a 207 KB page, consume() calls drop from 207,667 to 24,065.

Scope: only requests with deferred data, on the Node and worker stream paths (both use this coordinator). Requests without deferred data keep the #9016 pass-through. No API, config or output change.

Trade-off: non-React inputs dense in chars that still need consume() (for example < every 2 chars in a script) are 9-24% slower in a micro-benchmark. React output does not have these shapes.

中文摘要

  • 问题:流式 SSR 请求带 deferred loader 数据(defer() 或 loader 数据中的 Promise)时,DeferredScriptOutputCoordinator.writeReact 会把 React 输出的每个字符(包括约 24 KB 的模板 shell)逐个送进 HTML tokenizer,以找到 resolver 脚本的安全插入点。perf(runtime): skip deferred script tokenizing when no resolver can be queued #9016 只在不会有 resolver 时跳过这一步。下文两个 deferred 页面上,coordinator 每个响应约耗时 2.0 ms 和 7.6 ms。
  • 做法:新增 consumeRun(),整段消费只会追加到当前 token 的字符:文本跳到下一个 <,属性值跳到闭合引号,ASCII 标签名和属性名整段转小写,script/style/textarea 原始文本在没有未完成的 </tag 匹配时跳到下一个 <($RC 等续传调用的检测按逐字符结果精确更新),注释、声明等跳到下一个 >。consumeAttributes() 一次写入完整的 name="value" 属性。字符类判断改为比较 char code。
  • 行为:所有状态迁移仍在 consume() 中完成,输出字节、resolver 插入位置和顺序、finish() 报错都不变。
  • 范围:只影响带 deferred 数据的请求(Node 与 worker 流式路径)。其他请求仍走 perf(runtime): skip deferred script tokenizing when no resolver can be queued #9016 的直通路径。无 API、配置或输出变化。
  • 收益:/bench/deferred 每请求服务端 CPU -16.2%(-1.19 ms),/bench/deferred-large -19.9%(-4.30 ms),对照页 /bench/small +0.1%,在噪声内。
  • 代价:少数非 React 形态的密集输入在微基准中慢 9%-24%。

Benchmark

Environment: Node v22.21.1, Intel Xeon Platinum 8457C, 64 logical CPUs, shared machine (load average 13.7-24 at the start). Each server is pinned to one logical CPU with taskset, and a guard process keeps other tasks off its hyperthread sibling while measuring.

Method: A = main (27beabb) build, B = this branch (ba6eefc) build of the same bench app, served side by side by NODE_ENV=production modern serve. A and B are loaded in parallel, with their CPUs swapped every other round. 6 x 10 s rounds at 32 keep-alive connections per server, after a 10 s warm-up. Primary metric: server CPU ms per request (utime + stime of the server process tree from /proc, divided by completed requests). Medians over rounds, plus the median [min…max] of paired per-round deltas. Functional checks passed on both servers, all runs had 0 non-2xx and 0 errors, and response sizes were identical.

Noise floor: an A/A run (main vs main) gave CPU/req median deltas within ±0.6% on every URL and per-round paired deltas within ±2.1%. p99 moves by up to ±12% between identical servers, so it is not used as evidence.

URL bytes CPU ms/req A → B Δ CPU/req paired Δ [min…max] saved per request req/s A → B p50 ms A → B
/bench/deferred 83,070 7.360 → 6.169 -16.2% -16.2% [-16.7%…-15.5%] 1.19 ms 135.7 → 161.9 (+19.4%) 226.9 → 189.2 (-16.6%)
/bench/deferred-large 308,344 21.618 → 17.320 -19.9% -19.7% [-20.7%…-18.8%] 4.30 ms 46.2 → 57.7 (+24.7%) 673.4 → 537.1 (-20.2%)
/bench/small (control, no deferred data) 26,125 3.038 → 3.040 +0.1% +0.1% [-0.6%…+1.7%] 0.00 ms 328.7 → 328.8 (+0.0%) 89.2 → 88.8 (-0.5%)

Both deferred results are more than 25 times the ±0.6% A/A floor, and every round, on both CPU assignments, is well beyond the ±2.1% A/A per-round range.

Where the gain applies:

  • Any request whose loaders return deferred data. Once such a request can queue a resolver, the coordinator tokenizes all React output, including the ~24 KB template shell, so the saving grows with the total page size, not only with the deferred part.
  • Requests without deferred data take the perf(runtime): skip deferred script tokenizing when no resolver can be queued #9016 pass-through on both sides: /bench/small is unchanged, within the A/A floor.
  • The worker/edge path uses the same coordinator but is not exercised by this Node app. The pipeline micro-benchmark below covers it.

Supplementary micro-benchmark (outside the harness): writeReact of both dists in one process on one pinned CPU, replaying the bodies captured from the two servers (resolver script removed, 2048-char chunks). 9 interleaved rounds, per stream:

body chars tokenized before, median [min…max] after, median [min…max] paired after/before
/bench/deferred 63,109 2.044 ms [2.001…2.148] 0.883 ms [0.856…0.924] 0.43 [0.41…0.45]
/bench/deferred-large 208,569 7.628 ms [7.585…7.737] 3.949 ms [3.925…4.040] 0.52 [0.51…0.52]

The coordinator saves 1.16 ms and 3.68 ms per stream, against 1.19 ms and 4.30 ms per request end to end. The extra ~0.6 ms on the large page is probably less GC work (on a 207 KB page, 399 GCs on main vs 110 on this branch per 200 coordinator runs). I did not profile it.

Earlier micro-benchmarks (same setup, output equality asserted first). On synthetic React 19 pages the coordinator alone went from 1.136 to 0.434 ms (41 KB) and from 5.319 to 2.212 ms (207 KB), 2.4-2.8x over 3 runs, reproduced by reviewers. Through createReadableStreamFromElement with 4 deferred keys (stream post-processing only, 11 rounds):

scenario before after change CPU saved
worker, React chunks replayed, 41 KB 1.64 ms 0.80 ms -51.3% 0.84 ms
Node, React renders in the pipeline, 41 KB 2.97 ms 2.11 ms -29.2% 0.86 ms
worker, React chunks replayed, 207 KB 7.37 ms 3.72 ms -49.6% 3.65 ms
Node, React renders in the pipeline, 207 KB 14.16 ms 9.91 ms -30.0% 4.25 ms

Node with replayed chunks: -42.0% / -47.0%. Over 3 runs the React-render rows were -27.6% to -30.4% (reviewer: -25.7% to -30.3%).

Not every input gets faster. Chars that still go through consume() also pay for a consumeRun() call that returns at once. React does not produce these shapes (serializeJson escapes < in data scripts). 16 KB chunks, resolver pending, 9 rounds:

input before after change
<script> + a< x 80,000 7.60 ms 9.10 ms +19.8% (reviewer: +24.4%)
</scrip_ x 20,000 in a script 11.09 ms 12.10 ms +9.1% (reviewer: +10.5%)
<!----> x 20,000 2.40 ms 2.92 ms +21.4% (reviewer: +10.4%)

Dense tiny tags, a < b text and continuation scripts got 9%, 43% and 53% faster. An early return for the tag-open, markup-declaration and raw-end-tag states did not help (+0.8% to +4.3% on the slow inputs), so it is not included.

Bench app and harness
  • App: tests/integration/ssr/fixtures/streaming (streaming SSR, nested routes with loaders) plus untracked bench files: 127 routes on one entry, 122 with a loader. Every response carries a ~24 KB template (route manifest, 130 rel="prefetch" links, rspack runtime).
  • /bench/deferred: the loader returns { immediate, deferred: Promise } (15 ms), rendered with <Suspense> / <Await>. After the shell come the resolver script (16 KB) and a hidden segment with 280 list items (39.5 KB) completed by $RC. /bench/deferred-large: the same with 1400 items (200.6 KB, 80 KB resolver script). /bench/small: small page, plain loader, no deferred data.
  • Build: per side, pnpm --filter @modern-js/runtime --filter @modern-js/server-core --filter @modern-js/runtime-utils build, then NODE_ENV=production modern build of the app (the SSR bundle inlines the runtime). Only the branch bundle contains consumeRun.
  • Run: a check script verifies every bench URL on both servers first. The load generator is a small Node http keep-alive client on separate CPUs with a desktop Chrome User-Agent (so the runtime streams). It drains in-flight requests at the end of each window. CPU time comes from /proc/<pid>/stat of the server process tree.

Related Links

Validation Evidence

All checks ran on the final build of ba6eefc. Checks without a repo command used temporary scripts outside the repo.

  • Differential fuzzer: the main and branch dists run in lockstep, comparing emitted chunks, thrown errors and the full internal tokenizer state after every operation.
    • Inputs: 5 real React 19 streamed pages ($RC/$RR/$RX, table, SVG and MathML segments, CJK), 39 handcrafted edge cases, 3000 generated documents per run.
    • Chunkings: real writes, every 2-way split, 3-way splits of short documents, 1-char chunks with a resolver before each, random splits. Resolvers queued before the shell, between chunks and after finish or abort.
    • 9 runs (cjs with 7 seeds, esm, esm-node): 3.38 M cases, 97.3 M operations, 11.1 M resolver insertions, zero differences. Most chars come from re-feeding the 5 React pages.
  • Mutation check: of 17 broken variants, the output-only comparison catches all 16 non-equivalent ones. The 17th (a 2-char comment tail) is observationally equivalent and only the state comparison catches it. The first run caught 14 of 17, and targeted cases were then added for the 3 survivors.
  • Condensed harness (below): seeds 1-5 x 2000 documents, 278k-291k cases each, no differences. It also catches all 16 non-equivalent mutants.
  • The 18 coordinator unit tests removed in test(runtime): migrate internal tests to public entries and user flows #9236 pass with their original expectations against both builds.
  • isAsciiAlpha / isWhitespace match the old RegExp helpers for all 65,536 UTF-16 code units.
  • createReadableStreamFromElement (Node and worker): byte-identical output for both builds across 290 runs each (3 pages, 4 byte chunkings including split UTF-8, deferred and rejected fixtures, several resolve timings, real React renders).
  • E2E: live A and B bodies for both deferred URLs are identical except the port number in the serialized request context, with the resolver script at the same position. 400 randomized chunkings of those bodies with random resolver insertion points gave identical emitted sequences.
  • cd tests && npx rstest run integration/ssr/tests/streaming: 22/22 passed. npx rstest run in packages/runtime/plugin-runtime: 54 passed.
  • pnpm --filter @modern-js/runtime build, tsc --noEmit, rs lint and rs fmt on the changed files, pnpm check-changeset, pnpm check-test-governance --base origin/main --head HEAD: all pass.
  • Reviews: two independent reviewers ran their own full-state fuzzers (about 260k and 978k cases, zero differences) and caught their own mutants.
  • Not run: the full pnpm test:ut / pnpm test:framework suites. The E2E bench does not cover the worker/edge path, string SSR, the bot (all-ready) path or RSC. The GC effect was not profiled.
Condensed differential harness (fuzz-mini.cjs)

Build @modern-js/runtime on main and on this branch, then pass both packages/runtime/plugin-runtime directories as absolute paths:

NODE_ENV=production node fuzz-mini.cjs "$MAIN/packages/runtime/plugin-runtime" "$BRANCH/packages/runtime/plugin-runtime" 1 2000
# OK: 287429 cases, no differences
// Condensed differential fuzzer: DeferredScriptOutputCoordinator from origin/main
// vs this branch. Asserts byte-identical emitted chunks and identical errors.
// Usage: NODE_ENV=production node fuzz-mini.cjs <main plugin-runtime dir> <branch plugin-runtime dir> [seed] [docs]
const { createRequire } = require('module');
const { Writable } = require('stream');
const [mainDir, branchDir, seedArg = '1', docsArg = '400'] = process.argv.slice(2);
const REL = 'dist/cjs/core/server/stream/deferredScriptOutputCoordinator.js';
const Main = require(`${mainDir}/${REL}`).DeferredScriptOutputCoordinator;
const Branch = require(process.env.BRANCH_IMPL || `${branchDir}/${REL}`).DeferredScriptOutputCoordinator;
const req = createRequire(`${mainDir}/package.json`);
const React = req('react');
const { renderToPipeableStream } = req('react-dom/server');
const h = React.createElement;

let seed = Number(seedArg);
const rng = () => {
  seed = (seed + 0x6d2b79f5) | 0;
  let t = Math.imul(seed ^ (seed >>> 15), 1 | seed);
  t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
  return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
};
const int = n => Math.floor(rng() * n);
const pick = xs => xs[int(xs.length)];

// Real React 19 streaming output: shell, then Suspense completions ($RC etc.)
// for div, table, svg and math segments, nested boundaries and an error.
function Late({ p, children }) { React.use(p); return children; }
function Boom({ p }) { React.use(p); throw new Error('x'); }
const card = i => h('div', { key: i, className: `c${i}`, 'data-x': `a "b" 'c' <d>` },
  h('a', { href: `/p/${i}?q="1"&r=<2>`, title: 'Σ <t>' }, `商品 ${i} 🚀 a<b`), h('img', { src: `/${i}.png` }),
  h('textarea', { defaultValue: '</textarea><b>' }));
function reactDoc(n) {
  const later = ms => new Promise(r => setTimeout(r, ms));
  const late = (ms, child, fallback = h('p', null, '…')) => h(React.Suspense, { fallback }, h(Late, { p: later(ms) }, child));
  const app = h('div', { id: 'app' },
    h('style', null, '.a::before{content:"</style"}/* <!-- --> */'),
    Array.from({ length: n }, (_, i) => card(i)),
    late(2, h('section', null, Array.from({ length: n }, (_, i) => card(100 + i)), late(4, h('em', null, '嵌套')))),
    h('table', null, h('tbody', null, late(3, h('tr', null, h('td', null, 'row')), h('tr', null, h('td', null, '…'))))),
    h('svg', null, late(5, h('rect', { width: 2 }), h('circle', { r: 1 }))),
    h('math', null, late(6, h('mn', null, '42'), h('mi', null, 'x'))),
    h(React.Suspense, { fallback: h('i', null, 'err') }, h(Boom, { p: later(7) })),
    h('script', { dangerouslySetInnerHTML: { __html: 'window.d = {"s":"</scr" + "ipt $RC"};if (a <b) {}' } }));
  return new Promise((resolve, reject) => {
    const writes = [];
    const sink = new Writable({ write(c, _e, cb) { writes.push(c.toString()); cb(); } });
    sink.on('finish', () => resolve(writes));
    const s = renderToPipeableStream(app, { identifierPrefix: 'modern-js-', onShellReady: () => s.pipe(sink), onShellError: reject, onError() {} });
  });
}

// Character soup made of the pieces the tokenizer cares about.
const PIECES = ['<', '>', '/', '!', '-', '?', '=', '"', "'", ' ', '\t', '\n', '\f', '\v', 'a', 'v', 'x', 'S', 'C', '$',
  'Σ', '中', '🚀', 'İ', '@', '{', 'Z', '0', '="', "='", 'script', 'style', 'textarea', ' hidden', ' id="modern-js-S:1"',
  ' ID="modern-js-S:2" HIDDEN', ' ="x"hidden', " t='\">'", '$RC', '$RCx', '$R', '-->', '<!--', '</script', '</style',
  '<script>', '<style>', '<div', '</div>', '<aΣΣ>', '</AΣΣ>', '<table hidden>', '<tbody', '</table>',
  ' aria-hidden="true" style="display:none"', '<svg', '</svg>', '<!doctype html>', '<?x?>', '<br/>',
  '<div hidden id="modern-js-S:3">x</div><script>'];
const soup = len => { let s = ''; while (s.length < len) s += pick(PIECES); return s; };
// Edge cases for each fast path, each next to a React segment so a mistake moves a resolver.
const FRAGMENTS = ['<div hidden id="modern-js-S:1">x</div><script>$RCx</script><p>y</p>',
  '<DIV ID="modern-js-S:2" HIDDEN>u</DIV><SCRIPT>$RC()</SCRIPT>ok', '<div ="x"hidden id="modern-js-S:3">a</div><p>b</p>',
  `<div class="c a>b" data-x='1"' hidden=hidden id=modern-js-S:4><!-- <b> --></div><script>$RC()</script>`,
  '<div\vhidden id="modern-js-S:5">x</div\vhidden><p>after</p>', '<div hidden\vid="modern-js-S:6">y</div><p>z</p>',
  '<{x>a</{x><[b>c<@d>e<`f>g<Zz>h</Zz><za>i</za>', '<aΣ>x</aΣ><aΣΣ b>y</AΣΣ><a𐐀 𐐀=1>z</a𐐀><K>u</k>',
  '<style>a</sty le></styl></stylex></style><script>"</sc" + "ript>"</script ><!-- -- ---><!--->',
  '<table hidden><tbody id="modern-js-S:7"><tr><td>x</td></tr></tbody></table><script>$RX("B:7")</script>',
  '<svg aria-hidden="true" style="display:none" id="modern-js-S:8"><circle /></svg><script>$RS("a","b")</script>'];

let rid = 0;
const resolver = () => `<script data-resolver="${rid++}"></script>`;
function run(C, ops) {
  const out = [];
  const c = new C(s => out.push(s));
  for (const [op, arg] of ops) {
    try {
      if (op === 'w') c.writeReact(arg);
      else if (op === 'r') c.enqueueResolver(arg);
      else if (op === 's') c.markShellFinished();
      else c.finish();
      out.push('|');
    } catch (e) { out.push(`!${e.message}`); }
  }
  return out.join('\u0000');
}
let cases = 0;
function check(ops) {
  cases++;
  const a = run(Main, ops);
  const b = run(Branch, ops);
  if (a !== b) { console.error('MISMATCH', JSON.stringify(ops).slice(0, 2000)); process.exit(1); }
}
// Writes with resolvers queued at random points (before the shell, between chunks, at the end).
function schedule(chunks, shellAt) {
  const rate = pick([0.1, 0.5, 1]);
  const ops = rng() < 0.5 ? [['r', resolver()]] : [];
  chunks.forEach((w, i) => {
    if (rng() < rate) ops.push(['r', resolver()]);
    ops.push(['w', w]);
    if (i === shellAt) ops.push(['s']);
  });
  return [...ops, ['r', resolver()], ['s'], ['f']];
}
function randomSplit(doc) {
  const cuts = Array.from({ length: 1 + int(30) }, () => int(doc.length + 1)).sort((x, y) => x - y);
  return [0, ...cuts].map((c, i, all) => doc.slice(c, all[i + 1] ?? doc.length));
}

(async () => {
  for (let d = 0; d < Number(docsArg); d++) {
    const mixed = () => Array.from({ length: 1 + int(5) }, () => (rng() < 0.6 ? pick(FRAGMENTS) : soup(int(40)))).join('');
    const writes = d % 4 === 0 ? await reactDoc(1 + int(20)) : [d % 4 === 1 ? mixed() : soup(1 + int(300))];
    const doc = writes.join('');
    check(schedule(writes, 0)); // the real write sequence
    for (let k = 0; k < 20; k++) check(schedule(randomSplit(doc), int(3)));
    if (doc.length <= 400) {
      for (let p = 0; p <= doc.length; p++) check([['s'], ['r', resolver()], ['w', doc.slice(0, p)], ['r', resolver()], ['w', doc.slice(p)], ['f']]);
      check([['s'], ...[...doc].flatMap(ch => [['r', resolver()], ['w', ch]]), ['f']]); // a resolver before every char
    }
  }
  console.log(`OK: ${cases} cases, no differences`);
})();

Retained Tests and Exceptions

No test files or fixtures are added or changed. Per the test governance rules, equivalence was shown with temporary scripts outside the repo. Since #9236 nothing in the repo exercises the coordinator directly, and the streaming integration tests cover the user flows. The condensed harness lets reviewers and future changes to consume() rerun the differential check. No exceptions are requested.

Checklist

  • I have added a changeset via pnpm run change if published package behavior changes. (@modern-js/runtime patch)
  • I have updated the documentation where needed. (N/A: internal performance change, no API, config or output change)
  • I have recorded validation evidence and the rationale for retained tests or exceptions.

🤖 Generated with Claude Code

When a page streams deferred loader data, DeferredScriptOutputCoordinator
passed every character of the document, shell included, through its
per-char HTML tokenizer to find safe resolver insertion points.

Text, tag and attribute names, attribute values, and script, style and
comment bodies cannot change where a resolver may be inserted, so they
are now consumed as whole runs (indexOf / char code scans) and only the
chars that can change the tokenizer state still go through consume().
Complete name="value" attributes are consumed at once, and the char
class helpers no longer evaluate a RegExp literal per char. Every field
ends up as consuming char by char would leave it, so the emitted bytes,
chunk splits, resolver positions and errors are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ba6eefc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 116 packages
Name Type
@modern-js/runtime Patch
@modern-js/plugin-bff Patch
@modern-js/plugin-styled-components Patch
@modern-js/plugin-i18n Patch
app-document Patch
async-entry-test Patch
tmp Patch
bff-api-app Patch
bff-client-app Patch
bff-indep-client-app Patch
bff-hono Patch
integration-clean-dist-path Patch
integration-custom-dist-path Patch
custom-file-system-entry Patch
integration-custom-template Patch
deploy Patch
dev-server Patch
integration-disable-html Patch
app-custom-entries Patch
app-custom-routes-runtime Patch
app-custom Patch
app-entry Patch
app-route Patch
app-entry-server Patch
i18n-app-csr-html-lang Patch
i18n-app Patch
i18n-app-ssr-html-lang Patch
i18n-app-ssr Patch
i18n-custom-i18n-wrapper Patch
i18n-mf-app-provider Patch
i18n-mf-component-provider Patch
i18n-mf-consumer Patch
i18n-routes Patch
i18n-routes-ssr Patch
@integration-test/image-component Patch
main-entry-name Patch
mcp-apps-integration Patch
nonce Patch
pure-esm-project Patch
react-compiler-test Patch
routes-match Patch
routes Patch
app-rsbuild-hooks Patch
rsc-csr-app Patch
rsc-csr-routes Patch
rsc-ssr-app Patch
rsc-ssr-routes Patch
basic-app-rstest-browser Patch
basic-app-rstest Patch
runtime-custom-plugin Patch
runtime-custom-config-plugin Patch
select-mul-entry-test Patch
select-one-entry-test Patch
server-esm-tsx Patch
server Patch
@source-code-build/app Patch
ssg-fixtures-mega-list-routes Patch
ssg-fixtures-nested-routes Patch
ssg-fixtures-simple Patch
ssg-fixtures-web-server Patch
ssr-base-async-entry-test Patch
ssr-base-async-pre-entry-test Patch
ssr-base-json-test Patch
ssr-base-test Patch
ssr-base-fallback-test Patch
init Patch
ssr-base-loadable Patch
ssr-partial-test Patch
rsc-closing-tags-test Patch
ssr-script-loading Patch
ssr-useid-test Patch
ssr-streaming-inline-test Patch
ssr-streaming-lazy-test Patch
ssr-streaming-test Patch
styled-components-stream Patch
styled-components-string Patch
integration-tailwindcss-v2 Patch
integration-tailwindcss-v3 Patch
integration-tailwindcss-v4-tools Patch
integration-tailwindcss-v4 Patch
tmp-dir Patch
tools-plugin-options-test Patch
write-to-dist Patch
@modern-js/bundle-diff-benchmark Patch
@modern-js/main-doc Patch
@modern-js/tsconfig Patch
@modern-js/adapter-rstest Patch
@modern-js/builder Patch
@modern-js/plugin-data-loader Patch
@modern-js/plugin-ssg Patch
@modern-js/storybook-addon Patch
@modern-js/image Patch
@modern-js/render Patch
@modern-js/bff-core Patch
@modern-js/bff-runtime Patch
@modern-js/server-core Patch
@modern-js/create-request Patch
@modern-js/plugin-polyfill Patch
@modern-js/prod-server Patch
@modern-js/server-runtime Patch
@modern-js/server Patch
@modern-js/server-utils Patch
@modern-js/app-tools Patch
@modern-js/create Patch
@modern-js/i18n-utils Patch
@modern-js/mcp-apps Patch
@modern-js/plugin Patch
@modern-js/runtime-utils Patch
@modern-js/sandpack-react Patch
@modern-js/types Patch
@modern-js/utils Patch
@modern-js/rslib Patch
@scripts/prebundle Patch
@scripts/rstest-config Patch
entries-app-builder Patch
@scripts/release-node Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for modernjs-byted ready!

Name Link
🔨 Latest commit ba6eefc
🔍 Latest deploy log https://app.netlify.com/projects/modernjs-byted/deploys/6b0ef3a25e007950a7baf870
😎 Deploy Preview https://deploy-preview-9294--modernjs-byted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Rsdoctor Bundle Diff Analysis

📊 Quick Summary
Project Total Size Change
bundle-diff 514.3 KB 0

Generated by Rsdoctor GitHub Action

This branch has not been deployed

No deployments
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.

1 participant