Closed re-taro closed 1 year ago
ひどすぎるなw これ、どういう条件での計測?
Google Chromeの拡張機能でNavigationのMobileを計測しました 主にバンドルが重いって言われてますね... 有線回線の1Gbpsなので、多分私の環境側じゃなくて、純粋に大きいんだろうなぁと
あれ?なんかDesktopだとパフォーマンスで100が出たので別の部分に原因がありそう
いや、デスクトップとモバイルで計測結果が違うのは当たり前で、というのもレンダリングとかのマシンパワーを考慮されているのでモバイルでスコアが低いのは当然
バンドルサイズが重いのか
あーこれフォントとかですよ、selfホストに今回なってるのでそこがネックです
dist/index.html 0.52 kB │ gzip: 0.33 kB
dist/assets/zen-maru-gothic-japanese-300-normal-ddd716d0.woff2 1,324.28 kB
dist/assets/zen-maru-gothic-japanese-400-normal-6550bae0.woff2 1,435.79 kB
dist/assets/zen-maru-gothic-japanese-500-normal-1cef3bad.woff2 1,466.42 kB
dist/assets/zen-maru-gothic-japanese-900-normal-1a9e04df.woff2 1,477.74 kB
dist/assets/zen-maru-gothic-japanese-700-normal-b9806a34.woff2 1,492.16 kB
dist/assets/zen-maru-gothic-japanese-300-normal-91688ef6.woff 1,843.66 kB
dist/assets/zen-maru-gothic-japanese-400-normal-b386b93e.woff 1,925.64 kB
dist/assets/zen-maru-gothic-japanese-900-normal-7d8b2f79.woff 1,932.37 kB
dist/assets/zen-maru-gothic-japanese-500-normal-bf23968a.woff 1,938.68 kB
dist/assets/zen-maru-gothic-japanese-700-normal-92ab263b.woff 1,956.40 kB
dist/assets/index-09b7fe27.css 10.07 kB │ gzip: 2.79 kB
dist/assets/index-67e8da80.js 7.47 kB │ gzip: 3.19 kB
dist/assets/vendor-9f8346b7.js
思ったよりfontsourceのsubsetがカスなので自前で修正します
ていうか使わないようにに指定したはずのfont weightまで入ってますねこれ
Lighthouseのパフォーマンスがなかなかヤバ目です