You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Misskey frontend を vvi に移行したブランチで、build strategy ごとの frontend build 時間を測りました。
条件
perf/vvi-frontend-build8a6301fac90e51a09v24.15.011.1.2pnpm --filter frontend buildの wall timepnpm build-preとpnpm --filter i18n buildを1回実行し、その後built/_frontend_vite_を消して3回 frontend buildbaseline の
locale-inlinerは vvi 移行前の旧来ブランチで測った結果です。vvi 側は同じ Misskey 移行ブランチでVVI_BUILD_STRATEGYを切り替えて測っています。結果
メモ
virtualはこの条件ではlocale-inlinerより速く、生成物もかなり小さくなりました。inline-chunksは locale ごとの JS chunk を大量に出すため、build time は今回の3戦略で最も遅いです。ただしlocale-inlinerより生成物総量は少ないです。built/_frontend_vite_/manifest.json: exists*.ja-JP.js/*.en-US.jssmoke pattern, total locale JS count from harness: 6,156$locale.env/$l.env: 0$locale.match が1件ありますが、これは vvi runtime の fallback string$locale.${scope}.${path}で、Misskey 側の置換漏れではありません。create-search-indexanalysis warning、Rolldown の chunk warning / ineffective dynamic import warning、vite-vue-internationalizationや CSS plugin の plugin timing warning が出ますが、3 strategy とも build は成功しています。raw result files in workspace:
built/benchmark/frontend-build/2026-05-24T19-51-25-029Z-locale-inliner.jsonbuilt/benchmark/frontend-build/2026-05-25T01-55-41-596Z-vvi-virtual-computed.jsonbuilt/benchmark/frontend-build/2026-05-25T01-59-28-005Z-vvi-inline-chunks-computed.jsonAll reactions