Skip to content

Glob pattern matching improvements for netcore/CPS (~1s during solution load of 400 projects) #6069

@arunchndr

Description

@arunchndr

Child of #6034.

Globs were not a hot path before with netframework, but with CPS using globs, the pattern matching can be optimized, say for example by extension first before groveling through disk.

Below is the default set of blobs from CPS/netcore that comes with every project:

glob excludedPatterns
**/*.cs **/*.vssscc, obj\/**, **/*.sln, **/*.*proj, **/*.user, **/.*/**, bin\/**, bin\Debug\/**, obj\Debug\/**
**/*.resx **/*.vssscc, obj\/**, **/*.sln, **/*.*proj, **/*.user, **/.*/**, bin\/**, bin\Debug\/**, obj\Debug\/**
**/* **/*.vssscc, obj\/**, **/*.sln, **/*.*proj, **/*.user, **/.*/**, **/*.resx, bin\/**, bin\Debug\/**, **/*.cs, obj\Debug\/**

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions