Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

bit Boilerplate's WebAssembly app takes too long to become interactive

オープン
#14,115 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@yasmoradi がすでに取り組んでいます。

2026年10月22日 から。

  • #14116 @yasmoradi による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, wasm

調査の方向性

Start by reproducing the reported startup timings on the sales demo and inspecting the local build’s Playwright measurements and CPU profile. The report points to the CSP meta tag, first interactive render, reflection, the account menu, BitTimeZonePicker, App Insights setup, and the AOT demos, but does not define which of these should change. Treat the work as done when a scoped performance change is agreed and verified against the reported interaction delays; pull request #14116 is already open.

索引モデルが issue の本文から書いたものです。

説明

bit Boilerplate's Blazor WebAssembly app takes far too long to become interactive. On https://sales.bitplatform.dev the prerendered page shows quickly, but clicks only work after about 4 seconds on a fast desktop and about 16 seconds with the CPU throttled 4x (roughly a mid range phone).

Measured with Playwright and a CPU profile of the same app built locally:

  • The Content-Security-Policy <meta> tag at the top of the head turns off Chromium's preload scanner. The 9 stylesheets and the scripts at the end of the body then download one after another. On a 150ms latency network blazor.web.js runs at 2.2s instead of 0.75s, and the app becomes interactive at 11.3s instead of 8.5s.
  • The first interactive render is one long task: 1.5s on a desktop, 9s with 4x CPU throttling. Even the nearly empty not found page takes 8s, so most of it is the layout plus the interpreter running each method for the first time.
  • About 38% of that managed time is reflection: component metadata, System.Text.Json metadata for JS interop arguments and DataAnnotations validation of the settings at startup (about 0.7s at 4x).
  • The account menu renders all of its content while it is closed, and BitTimeZonePicker builds its whole list of time zones in OnInitialized although it only shows the selected one (about 1.1s at 4x).
  • The App Insights JS SDK setup runs inside that first render (about 0.5s at 4x).
  • The AOT demos compile every method ahead of time. todo-aot downloads about 10MB (dotnet.native.wasm alone is 7.7MB brotli), and its first render still blocks for 1.4s on a desktop and 8.5s at 4x.
主要言語
C#
スター
1.4k
フォーク
264
平均マージ
13時間 15分
マージ済み PR(30日)
344

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bitfoundation/bitplatform のほかの issue

bitfoundation/bitplatform の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。