v8-jit
A maintainer skill in the Next.js repository on writing JavaScript that the V8 engine can optimise well, for per-request code in Next.js server internals such as rendering, streaming, routing and caching.
スキルの内容
A maintainer skill in the Next.js repository on writing JavaScript that the V8 engine can optimise well, for per-request code in Next.js server internals such as rendering, streaming, routing and caching. It explains V8's compiler tiers and why optimised code is thrown away when assumptions break, then sets rules: give objects the same shape by initialising all properties in a fixed order, keep call sites seeing one shape, move closures out of hot loops, keep arrays packed and single-typed, avoid the arguments object and for...in, hoist regular expressions and choose Map or Set for changing keys. Node flags for tracing optimisation and profiling are listed, and a checklist closes it for code review.
できること
- Keep object shapes stable on hot paths
- Avoid patterns that cause deoptimisation
- Trace optimisation with Node flags
- Review hot-path code against a checklist
概要
- 公開元
- Vercel
- ツール
- コードレビュー
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
Vercelのほかの掲載
サーバー1件 · スキル69件
- vercel-cli (スキル)
- vercel-flags (スキル)
- access-protected-vercel-deployment (スキル)
- ai-gateway (スキル)
- ai-sdk (スキル)
- auth (スキル)
こちらにも掲載: コードレビュー
出典
- スキルファイル(SKILL.md)github.com/vercel/next.js · 根拠となる項目:スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/vercel/next.js · 根拠となる項目:ライセンス, 公開元, 活動状況2026年11月11日
- リポジトリ内のフォルダ(v8-jit)github.com/vercel/next.js · 根拠となる項目:スクリプトを含む2026年11月10日