PowerShell / PowerShell/PSScriptAnalyzer
Time sum to scan sub folders is much longer than scanning parent folder
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 414
- Avg merge
- 13h 1m
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files, tests, or entry points. Start by reproducing recursive scans of parent folder A and subfolders B and C, then trace the scan timing through the analyzer to identify why the totals differ. Done means explaining the discrepancy and adding a focused fix or regression coverage if the cause is confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- devtools, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100