PowerShell / PowerShell/PSResourceGet

Find-Module -Command need perf improvement

オープン
#31 コメント 11 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Area-Find
主要言語
C#
スター
576
フォーク
114
平均マージ
1日 2時間
マージ済み PR(30日)
7

説明

As part of https://github.com/PowerShell/PowerShell/issues/1982, if the user types a command that doesn't exist, we want to be able to search PSGallery and inform the user to install a module. However, the current execution of Find-Module -Command foo takes ~4.5s, this needs to be closer to 100ms (or less).

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず Find-Module -Command foo を実行し、PSGallery を検索する PSResourceGet の実行パスを追跡します。現在の約 4.5 秒の実行時間を要求された目標と比較します。検索が約 100 ms 以下で完了し、意図されたコマンド検索も引き続きサポートできれば完了です。

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

評価

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

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

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