Room for micro-optimisation
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- backend, performance
調査の方向性
Start in src/index.js around line 751 and trace the 304 response path together with the readable-stream lifecycle. Done means the 304 check happens before creating the stream and the response does not leave a file descriptor open; verify the behavior with the repository's existing checks.
索引モデルが issue の本文から書いたものです。
説明
Hi,
I'm looking for an asset oriented server. Yours seems great, not tested yet but I saw something weird in the code here : https://github.com/zeit/serve-handler/blob/master/src/index.js#L751
You could make the check before creating the readable stream, 304 will be more efficient, and by the way, you don't destroy it before returning, it may keep open a file descriptor.
Hope it helps,
BR, Ioan
- 主要言語
- JavaScript
- スター
- 618
- フォーク
- 117
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vercel/serve-handler のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
vercel/serve-handler#235 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vercel/serve-handler#231 · コメント 2 件 · リアクション 5 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
vercel/serve-handler#165 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
vercel/serve-handler#223 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
vercel/serve-handler#210 · コメント 1 件 · リアクション 3 件 ·
vercel/serve-handler の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openlibhums/janeway#5604 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Generic OSC does not initialize OSC client on startup when "Listen for Feedback" is disabledオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
area/statement-execution TS conversion
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
scylladb/nodejs-rs-driver#584 ·
メンテナーはふだん 2 日以内に返信
-
新讀者走讀回報,照著一篇文章實際操作オープンdocumentation good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 3 日以内に返信