PowerShell / PowerShell/PSScriptAnalyzer
Time sum to scan sub folders is much longer than scanning parent folder
未關閉
還沒有人認領這個 Issue。
Area - Performance
Issue - Enhancement
- 主要語言
- C#
- 星號
- 2.2k
- 分支
- 414
- 平均合併
- 13 小時 1 分鐘
- 30 天內合併 PR
- 2
描述
In an example of folder "A" contains sub folder "B" and "C".
Scanning folder "A" recursively took 53 seconds.
Scanning folder "B" recursively took 38 seconds.
Scanning folder "C" recursively took 37 seconds.
The sum to scan sub folder is 22 seconds more than scanning the parent folder.
38+37-53=22.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
此 issue 未指出原始檔案、測試或進入點。先重現對父資料夾 A 以及子資料夾 B 和 C 的遞迴掃描,接著追蹤掃描經過 analyzer 時的時序,以找出總數為何不同。完成的標準是說明清楚這項差異,並在確認原因後加入針對性的修正或回歸涵蓋。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, powershell
- 領域
- devtools, performance
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100