Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce exceptions #44710

Merged
merged 3 commits into from
Jun 28, 2021
Merged

Reduce exceptions #44710

merged 3 commits into from
Jun 28, 2021

Conversation

amcasey
Copy link
Member

@amcasey amcasey commented Jun 23, 2021

Clean up a couple of exceptions that were being thrown repeatedly during initial project load of a large project on Linux:

  1. matchFiles shouldn't call visitDirectory on basePaths that don't exist (throwing from realpath and readdir)
  2. Once the system runs out of file watchers, stop trying to add them - just default to polling (could be a small perf win)

After this change, "All Exceptions" causes the debugger to stop exactly twice: when typescript-etw is found to be absent and the first time the file watcher limit is hit.

This change is purely to make it easier to enable "All Exceptions" when debugging TypeScript - not for correctness or (significant) perf improvements.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jun 23, 2021
@amcasey
Copy link
Member Author

amcasey commented Jun 23, 2021

@typescript-bot perf test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 23, 2021

Heya @amcasey, I've started to run the perf test suite on this PR at 7091edc. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@amcasey
The results of the perf run you requested are in!

Here they are:

Comparison Report - main..44710

Metric main 44710 Delta Best Worst
Angular - node (v10.16.3, x64)
Memory used 344,262k (± 0.02%) 344,457k (± 0.02%) +196k (+ 0.06%) 344,330k 344,640k
Parse Time 1.80s (± 0.46%) 1.80s (± 0.37%) +0.00s (+ 0.22%) 1.79s 1.82s
Bind Time 0.84s (± 0.69%) 0.84s (± 0.73%) +0.00s (+ 0.48%) 0.83s 0.86s
Check Time 5.21s (± 0.45%) 5.21s (± 0.46%) +0.00s (+ 0.02%) 5.16s 5.26s
Emit Time 5.49s (± 0.96%) 5.62s (± 0.53%) +0.13s (+ 2.33%) 5.56s 5.69s
Total Time 13.34s (± 0.56%) 13.47s (± 0.33%) +0.14s (+ 1.02%) 13.40s 13.60s
Compiler-Unions - node (v10.16.3, x64)
Memory used 200,493k (± 0.03%) 201,049k (± 0.02%) +556k (+ 0.28%) 200,927k 201,155k
Parse Time 0.78s (± 1.00%) 0.78s (± 0.67%) +0.00s (+ 0.26%) 0.77s 0.79s
Bind Time 0.53s (± 1.42%) 0.53s (± 0.71%) -0.00s (- 0.38%) 0.52s 0.53s
Check Time 7.55s (± 0.56%) 7.56s (± 0.67%) +0.01s (+ 0.08%) 7.47s 7.68s
Emit Time 2.24s (± 0.75%) 2.28s (± 0.55%) +0.04s (+ 1.74%) 2.26s 2.32s
Total Time 11.10s (± 0.42%) 11.15s (± 0.48%) +0.05s (+ 0.42%) 11.05s 11.29s
Monaco - node (v10.16.3, x64)
Memory used 340,543k (± 0.02%) 340,400k (± 0.02%) -143k (- 0.04%) 340,302k 340,546k
Parse Time 1.45s (± 0.68%) 1.45s (± 0.93%) -0.00s (- 0.07%) 1.41s 1.48s
Bind Time 0.74s (± 0.63%) 0.74s (± 1.08%) -0.00s (- 0.27%) 0.72s 0.76s
Check Time 5.36s (± 0.63%) 5.32s (± 0.72%) -0.04s (- 0.80%) 5.24s 5.40s
Emit Time 2.98s (± 1.13%) 3.02s (± 0.65%) +0.04s (+ 1.38%) 2.98s 3.06s
Total Time 10.54s (± 0.48%) 10.53s (± 0.36%) -0.00s (- 0.03%) 10.48s 10.66s
TFS - node (v10.16.3, x64)
Memory used 304,171k (± 0.02%) 303,696k (± 0.02%) -475k (- 0.16%) 303,594k 303,805k
Parse Time 1.18s (± 0.42%) 1.17s (± 0.51%) -0.00s (- 0.09%) 1.16s 1.19s
Bind Time 0.71s (± 0.73%) 0.70s (± 0.83%) -0.01s (- 1.13%) 0.69s 0.72s
Check Time 4.89s (± 0.47%) 4.85s (± 0.42%) -0.04s (- 0.72%) 4.81s 4.89s
Emit Time 3.07s (± 1.56%) 3.08s (± 1.25%) +0.02s (+ 0.55%) 2.98s 3.15s
Total Time 9.84s (± 0.60%) 9.81s (± 0.46%) -0.03s (- 0.26%) 9.72s 9.91s
material-ui - node (v10.16.3, x64)
Memory used 473,969k (± 0.02%) 471,356k (± 0.01%) -2,614k (- 0.55%) 471,266k 471,428k
Parse Time 1.73s (± 0.35%) 1.72s (± 0.61%) -0.00s (- 0.29%) 1.70s 1.74s
Bind Time 0.66s (± 0.72%) 0.67s (± 0.56%) +0.00s (+ 0.30%) 0.66s 0.67s
Check Time 15.03s (± 0.51%) 14.13s (± 0.64%) 🟩-0.90s (- 6.00%) 13.99s 14.38s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 17.42s (± 0.47%) 16.51s (± 0.60%) 🟩-0.91s (- 5.22%) 16.35s 16.79s
Angular - node (v12.1.0, x64)
Memory used 322,503k (± 0.03%) 322,703k (± 0.02%) +201k (+ 0.06%) 322,520k 322,884k
Parse Time 1.77s (± 0.50%) 1.76s (± 0.47%) -0.00s (- 0.11%) 1.75s 1.79s
Bind Time 0.82s (± 0.83%) 0.82s (± 0.73%) +0.00s (+ 0.12%) 0.81s 0.84s
Check Time 5.12s (± 0.46%) 5.11s (± 0.45%) -0.01s (- 0.18%) 5.07s 5.17s
Emit Time 5.68s (± 0.86%) 5.81s (± 0.49%) +0.14s (+ 2.40%) 5.76s 5.90s
Total Time 13.39s (± 0.35%) 13.51s (± 0.31%) +0.12s (+ 0.93%) 13.44s 13.65s
Compiler-Unions - node (v12.1.0, x64)
Memory used 187,760k (± 0.10%) 188,488k (± 0.13%) +728k (+ 0.39%) 187,729k 188,827k
Parse Time 0.77s (± 0.72%) 0.77s (± 0.52%) +0.00s (+ 0.13%) 0.76s 0.78s
Bind Time 0.53s (± 0.69%) 0.53s (± 0.56%) +0.00s (+ 0.38%) 0.52s 0.53s
Check Time 7.02s (± 0.54%) 7.01s (± 0.32%) -0.01s (- 0.10%) 6.97s 7.06s
Emit Time 2.24s (± 1.03%) 2.31s (± 0.97%) +0.07s (+ 3.12%) 2.28s 2.37s
Total Time 10.55s (± 0.36%) 10.62s (± 0.33%) +0.06s (+ 0.61%) 10.56s 10.71s
Monaco - node (v12.1.0, x64)
Memory used 323,536k (± 0.02%) 323,582k (± 0.02%) +46k (+ 0.01%) 323,418k 323,719k
Parse Time 1.42s (± 0.59%) 1.42s (± 0.88%) +0.00s (+ 0.35%) 1.40s 1.45s
Bind Time 0.71s (± 1.05%) 0.71s (± 0.56%) -0.00s (- 0.56%) 0.70s 0.72s
Check Time 5.21s (± 0.37%) 5.17s (± 0.31%) -0.05s (- 0.88%) 5.14s 5.22s
Emit Time 3.00s (± 0.66%) 3.03s (± 0.65%) +0.03s (+ 1.07%) 2.98s 3.07s
Total Time 10.35s (± 0.31%) 10.33s (± 0.33%) -0.01s (- 0.13%) 10.25s 10.41s
TFS - node (v12.1.0, x64)
Memory used 288,651k (± 0.03%) 288,408k (± 0.02%) -243k (- 0.08%) 288,316k 288,543k
Parse Time 1.19s (± 0.89%) 1.18s (± 0.72%) -0.01s (- 0.59%) 1.16s 1.20s
Bind Time 0.69s (± 1.21%) 0.69s (± 0.83%) +0.00s (+ 0.58%) 0.68s 0.71s
Check Time 4.78s (± 0.36%) 4.75s (± 0.44%) -0.02s (- 0.50%) 4.72s 4.82s
Emit Time 3.09s (± 0.85%) 3.17s (± 1.02%) +0.08s (+ 2.46%) 3.11s 3.22s
Total Time 9.75s (± 0.36%) 9.79s (± 0.49%) +0.05s (+ 0.47%) 9.71s 9.93s
material-ui - node (v12.1.0, x64)
Memory used 452,770k (± 0.01%) 449,877k (± 0.05%) -2,893k (- 0.64%) 449,131k 450,250k
Parse Time 1.71s (± 0.62%) 1.71s (± 0.47%) -0.01s (- 0.41%) 1.69s 1.73s
Bind Time 0.64s (± 1.05%) 0.64s (± 0.70%) +0.00s (+ 0.16%) 0.63s 0.65s
Check Time 13.43s (± 0.45%) 12.67s (± 0.68%) 🟩-0.76s (- 5.69%) 12.54s 12.89s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 15.79s (± 0.45%) 15.02s (± 0.59%) 🟩-0.77s (- 4.86%) 14.89s 15.24s
Angular - node (v14.15.1, x64)
Memory used 321,215k (± 0.01%) 321,314k (± 0.01%) +99k (+ 0.03%) 321,236k 321,356k
Parse Time 1.79s (± 0.43%) 1.79s (± 0.56%) +0.00s (+ 0.22%) 1.78s 1.82s
Bind Time 0.87s (± 1.00%) 0.87s (± 0.66%) +0.01s (+ 0.58%) 0.86s 0.88s
Check Time 5.12s (± 0.44%) 5.08s (± 0.46%) -0.04s (- 0.70%) 5.01s 5.13s
Emit Time 5.72s (± 0.50%) 5.85s (± 0.57%) +0.12s (+ 2.17%) 5.77s 5.90s
Total Time 13.50s (± 0.28%) 13.60s (± 0.36%) +0.10s (+ 0.73%) 13.48s 13.68s
Compiler-Unions - node (v14.15.1, x64)
Memory used 188,899k (± 0.57%) 189,465k (± 0.58%) +566k (+ 0.30%) 187,201k 190,543k
Parse Time 0.81s (± 0.92%) 0.80s (± 0.61%) -0.01s (- 0.74%) 0.79s 0.81s
Bind Time 0.56s (± 0.53%) 0.56s (± 0.72%) +0.00s (+ 0.18%) 0.55s 0.57s
Check Time 7.16s (± 0.53%) 7.15s (± 0.69%) -0.01s (- 0.11%) 7.08s 7.26s
Emit Time 2.27s (± 1.14%) 2.29s (± 1.04%) +0.01s (+ 0.57%) 2.25s 2.36s
Total Time 10.81s (± 0.47%) 10.81s (± 0.50%) +0.00s (+ 0.01%) 10.71s 10.94s
Monaco - node (v14.15.1, x64)
Memory used 322,583k (± 0.01%) 322,494k (± 0.00%) -89k (- 0.03%) 322,467k 322,535k
Parse Time 1.47s (± 0.53%) 1.46s (± 0.39%) -0.01s (- 0.61%) 1.45s 1.47s
Bind Time 0.74s (± 1.10%) 0.74s (± 0.40%) -0.00s (- 0.13%) 0.74s 0.75s
Check Time 5.18s (± 0.53%) 5.16s (± 0.36%) -0.03s (- 0.54%) 5.11s 5.19s
Emit Time 3.07s (± 0.52%) 3.11s (± 0.58%) +0.04s (+ 1.30%) 3.07s 3.15s
Total Time 10.47s (± 0.29%) 10.47s (± 0.25%) +0.00s (+ 0.01%) 10.41s 10.51s
TFS - node (v14.15.1, x64)
Memory used 287,688k (± 0.01%) 287,403k (± 0.01%) -285k (- 0.10%) 287,352k 287,436k
Parse Time 1.26s (± 1.74%) 1.26s (± 1.69%) +0.00s (+ 0.08%) 1.24s 1.34s
Bind Time 0.71s (± 0.63%) 0.71s (± 1.12%) 0.00s ( 0.00%) 0.70s 0.74s
Check Time 4.80s (± 0.31%) 4.79s (± 0.33%) -0.01s (- 0.31%) 4.77s 4.83s
Emit Time 3.21s (± 0.73%) 3.25s (± 0.72%) +0.05s (+ 1.53%) 3.22s 3.33s
Total Time 9.98s (± 0.27%) 10.01s (± 0.40%) +0.03s (+ 0.34%) 9.93s 10.09s
material-ui - node (v14.15.1, x64)
Memory used 451,067k (± 0.01%) 448,358k (± 0.01%) -2,709k (- 0.60%) 448,260k 448,458k
Parse Time 1.74s (± 0.60%) 1.74s (± 0.48%) -0.00s (- 0.11%) 1.73s 1.76s
Bind Time 0.69s (± 0.65%) 0.69s (± 0.94%) 0.00s ( 0.00%) 0.68s 0.71s
Check Time 13.61s (± 0.50%) 12.84s (± 0.60%) 🟩-0.76s (- 5.61%) 12.71s 13.03s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 16.04s (± 0.43%) 15.27s (± 0.50%) 🟩-0.77s (- 4.79%) 15.15s 15.45s
System
Machine Namets-ci-ubuntu
Platformlinux 4.4.0-206-generic
Architecturex64
Available Memory16 GB
Available Memory1 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v10.16.3, x64)
  • node (v12.1.0, x64)
  • node (v14.15.1, x64)
Scenarios
  • Angular - node (v10.16.3, x64)
  • Angular - node (v12.1.0, x64)
  • Angular - node (v14.15.1, x64)
  • Compiler-Unions - node (v10.16.3, x64)
  • Compiler-Unions - node (v12.1.0, x64)
  • Compiler-Unions - node (v14.15.1, x64)
  • Monaco - node (v10.16.3, x64)
  • Monaco - node (v12.1.0, x64)
  • Monaco - node (v14.15.1, x64)
  • TFS - node (v10.16.3, x64)
  • TFS - node (v12.1.0, x64)
  • TFS - node (v14.15.1, x64)
  • material-ui - node (v10.16.3, x64)
  • material-ui - node (v12.1.0, x64)
  • material-ui - node (v14.15.1, x64)
Benchmark Name Iterations
Current 44710 10
Baseline main 10

Developer Information:

Download Benchmark

@amcasey
Copy link
Member Author

amcasey commented Jun 23, 2021

I'm extremely skeptical that this could have reduced check time since, AFAIK, none of our benchmarks are built in watch mode and the checker does not use readDirectory.

@amcasey
Copy link
Member Author

amcasey commented Jun 23, 2021

@typescript-bot perf test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 23, 2021

Heya @amcasey, I've started to run the perf test suite on this PR at d9ae52c. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@amcasey
The results of the perf run you requested are in!

Here they are:

Comparison Report - main..44710

Metric main 44710 Delta Best Worst
Angular - node (v10.16.3, x64)
Memory used 344,262k (± 0.02%) 344,446k (± 0.02%) +185k (+ 0.05%) 344,285k 344,585k
Parse Time 1.80s (± 0.46%) 1.79s (± 0.36%) -0.00s (- 0.22%) 1.78s 1.81s
Bind Time 0.84s (± 0.69%) 0.84s (± 0.77%) +0.01s (+ 0.60%) 0.83s 0.86s
Check Time 5.21s (± 0.45%) 5.22s (± 0.32%) +0.00s (+ 0.08%) 5.18s 5.25s
Emit Time 5.49s (± 0.96%) 5.63s (± 0.87%) +0.14s (+ 2.59%) 5.55s 5.77s
Total Time 13.34s (± 0.56%) 13.48s (± 0.44%) +0.14s (+ 1.09%) 13.36s 13.62s
Compiler-Unions - node (v10.16.3, x64)
Memory used 200,493k (± 0.03%) 201,011k (± 0.06%) +518k (+ 0.26%) 200,601k 201,279k
Parse Time 0.78s (± 1.00%) 0.78s (± 0.71%) -0.00s (- 0.13%) 0.77s 0.79s
Bind Time 0.53s (± 1.42%) 0.53s (± 1.14%) -0.00s (- 0.38%) 0.51s 0.54s
Check Time 7.55s (± 0.56%) 7.54s (± 0.56%) -0.01s (- 0.17%) 7.45s 7.63s
Emit Time 2.24s (± 0.75%) 2.30s (± 1.49%) +0.06s (+ 2.68%) 2.25s 2.40s
Total Time 11.10s (± 0.42%) 11.15s (± 0.20%) +0.05s (+ 0.42%) 11.09s 11.19s
Monaco - node (v10.16.3, x64)
Memory used 340,543k (± 0.02%) 340,422k (± 0.02%) -121k (- 0.04%) 340,266k 340,558k
Parse Time 1.45s (± 0.68%) 1.45s (± 0.60%) -0.00s (- 0.00%) 1.43s 1.47s
Bind Time 0.74s (± 0.63%) 0.74s (± 0.68%) -0.00s (- 0.68%) 0.72s 0.74s
Check Time 5.36s (± 0.63%) 5.31s (± 0.50%) -0.05s (- 0.93%) 5.23s 5.37s
Emit Time 2.98s (± 1.13%) 3.00s (± 1.50%) +0.02s (+ 0.70%) 2.95s 3.17s
Total Time 10.54s (± 0.48%) 10.50s (± 0.57%) -0.03s (- 0.28%) 10.42s 10.73s
TFS - node (v10.16.3, x64)
Memory used 304,171k (± 0.02%) 303,734k (± 0.01%) -437k (- 0.14%) 303,674k 303,823k
Parse Time 1.18s (± 0.42%) 1.18s (± 0.72%) +0.00s (+ 0.34%) 1.16s 1.20s
Bind Time 0.71s (± 0.73%) 0.70s (± 0.52%) -0.01s (- 0.98%) 0.70s 0.71s
Check Time 4.89s (± 0.47%) 4.85s (± 0.65%) -0.03s (- 0.70%) 4.76s 4.90s
Emit Time 3.07s (± 1.56%) 3.12s (± 0.85%) +0.05s (+ 1.63%) 3.04s 3.18s
Total Time 9.84s (± 0.60%) 9.86s (± 0.50%) +0.02s (+ 0.16%) 9.73s 9.99s
material-ui - node (v10.16.3, x64)
Memory used 473,969k (± 0.02%) 471,392k (± 0.01%) -2,577k (- 0.54%) 471,249k 471,556k
Parse Time 1.73s (± 0.35%) 1.71s (± 0.39%) -0.01s (- 0.70%) 1.70s 1.73s
Bind Time 0.66s (± 0.72%) 0.66s (± 0.50%) -0.00s (- 0.45%) 0.65s 0.67s
Check Time 15.03s (± 0.51%) 14.14s (± 0.72%) 🟩-0.89s (- 5.92%) 14.01s 14.44s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 17.42s (± 0.47%) 16.51s (± 0.64%) 🟩-0.91s (- 5.20%) 16.38s 16.83s
Angular - node (v12.1.0, x64)
Memory used 322,503k (± 0.03%) 322,725k (± 0.02%) +223k (+ 0.07%) 322,517k 322,876k
Parse Time 1.77s (± 0.50%) 1.78s (± 0.84%) +0.01s (+ 0.62%) 1.75s 1.83s
Bind Time 0.82s (± 0.83%) 0.83s (± 1.20%) +0.01s (+ 1.09%) 0.82s 0.86s
Check Time 5.12s (± 0.46%) 5.11s (± 0.48%) -0.01s (- 0.25%) 5.06s 5.16s
Emit Time 5.68s (± 0.86%) 5.83s (± 0.54%) +0.15s (+ 2.63%) 5.78s 5.89s
Total Time 13.39s (± 0.35%) 13.54s (± 0.33%) +0.15s (+ 1.14%) 13.45s 13.64s
Compiler-Unions - node (v12.1.0, x64)
Memory used 187,760k (± 0.10%) 188,480k (± 0.08%) +720k (+ 0.38%) 188,100k 188,687k
Parse Time 0.77s (± 0.72%) 0.77s (± 0.84%) 0.00s ( 0.00%) 0.75s 0.78s
Bind Time 0.53s (± 0.69%) 0.53s (± 0.90%) +0.00s (+ 0.19%) 0.52s 0.54s
Check Time 7.02s (± 0.54%) 7.04s (± 0.33%) +0.02s (+ 0.29%) 6.98s 7.08s
Emit Time 2.24s (± 1.03%) 2.31s (± 0.63%) +0.07s (+ 3.08%) 2.28s 2.34s
Total Time 10.55s (± 0.36%) 10.64s (± 0.22%) +0.09s (+ 0.83%) 10.61s 10.71s
Monaco - node (v12.1.0, x64)
Memory used 323,536k (± 0.02%) 323,542k (± 0.01%) +6k (+ 0.00%) 323,434k 323,654k
Parse Time 1.42s (± 0.59%) 1.42s (± 0.51%) -0.00s (- 0.07%) 1.40s 1.43s
Bind Time 0.71s (± 1.05%) 0.71s (± 0.99%) -0.00s (- 0.28%) 0.70s 0.73s
Check Time 5.21s (± 0.37%) 5.16s (± 0.39%) -0.05s (- 0.98%) 5.13s 5.23s
Emit Time 3.00s (± 0.66%) 3.04s (± 1.09%) +0.04s (+ 1.27%) 2.99s 3.14s
Total Time 10.35s (± 0.31%) 10.33s (± 0.46%) -0.01s (- 0.13%) 10.26s 10.49s
TFS - node (v12.1.0, x64)
Memory used 288,651k (± 0.03%) 288,405k (± 0.02%) -246k (- 0.09%) 288,218k 288,520k
Parse Time 1.19s (± 0.89%) 1.18s (± 0.55%) -0.00s (- 0.34%) 1.17s 1.19s
Bind Time 0.69s (± 1.21%) 0.68s (± 1.11%) -0.00s (- 0.29%) 0.67s 0.71s
Check Time 4.78s (± 0.36%) 4.76s (± 0.25%) -0.02s (- 0.38%) 4.73s 4.78s
Emit Time 3.09s (± 0.85%) 3.20s (± 1.01%) +0.11s (+ 3.59%) 3.13s 3.31s
Total Time 9.75s (± 0.36%) 9.83s (± 0.36%) +0.09s (+ 0.88%) 9.77s 9.96s
material-ui - node (v12.1.0, x64)
Memory used 452,770k (± 0.01%) 450,016k (± 0.08%) -2,755k (- 0.61%) 448,649k 450,283k
Parse Time 1.71s (± 0.62%) 1.70s (± 0.26%) -0.01s (- 0.76%) 1.69s 1.71s
Bind Time 0.64s (± 1.05%) 0.63s (± 0.54%) -0.00s (- 0.63%) 0.63s 0.64s
Check Time 13.43s (± 0.45%) 12.64s (± 0.43%) 🟩-0.79s (- 5.88%) 12.56s 12.81s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 15.79s (± 0.45%) 14.98s (± 0.36%) 🟩-0.80s (- 5.10%) 14.90s 15.15s
Angular - node (v14.15.1, x64)
Memory used 321,215k (± 0.01%) 321,310k (± 0.01%) +96k (+ 0.03%) 321,206k 321,374k
Parse Time 1.79s (± 0.43%) 1.79s (± 0.31%) -0.00s (- 0.17%) 1.78s 1.80s
Bind Time 0.87s (± 1.00%) 0.86s (± 0.42%) -0.00s (- 0.46%) 0.86s 0.87s
Check Time 5.12s (± 0.44%) 5.08s (± 0.28%) -0.04s (- 0.80%) 5.05s 5.11s
Emit Time 5.72s (± 0.50%) 5.89s (± 0.72%) +0.17s (+ 3.01%) 5.82s 5.98s
Total Time 13.50s (± 0.28%) 13.62s (± 0.38%) +0.12s (+ 0.92%) 13.52s 13.75s
Compiler-Unions - node (v14.15.1, x64)
Memory used 188,899k (± 0.57%) 189,793k (± 0.51%) +894k (+ 0.47%) 187,195k 190,504k
Parse Time 0.81s (± 0.92%) 0.80s (± 0.56%) -0.01s (- 0.99%) 0.79s 0.81s
Bind Time 0.56s (± 0.53%) 0.56s (± 0.72%) +0.00s (+ 0.18%) 0.55s 0.57s
Check Time 7.16s (± 0.53%) 7.18s (± 0.82%) +0.02s (+ 0.24%) 7.06s 7.35s
Emit Time 2.27s (± 1.14%) 2.31s (± 1.22%) +0.04s (+ 1.58%) 2.27s 2.39s
Total Time 10.81s (± 0.47%) 10.85s (± 0.55%) +0.04s (+ 0.42%) 10.72s 11.01s
Monaco - node (v14.15.1, x64)
Memory used 322,583k (± 0.01%) 322,485k (± 0.00%) -98k (- 0.03%) 322,463k 322,521k
Parse Time 1.47s (± 0.53%) 1.47s (± 0.40%) -0.00s (- 0.14%) 1.46s 1.48s
Bind Time 0.74s (± 1.10%) 0.74s (± 0.64%) +0.00s (+ 0.00%) 0.73s 0.75s
Check Time 5.18s (± 0.53%) 5.14s (± 0.63%) -0.04s (- 0.81%) 5.07s 5.22s
Emit Time 3.07s (± 0.52%) 3.10s (± 0.61%) +0.03s (+ 0.94%) 3.06s 3.13s
Total Time 10.47s (± 0.29%) 10.45s (± 0.36%) -0.02s (- 0.15%) 10.39s 10.55s
TFS - node (v14.15.1, x64)
Memory used 287,688k (± 0.01%) 287,398k (± 0.01%) -291k (- 0.10%) 287,371k 287,458k
Parse Time 1.26s (± 1.74%) 1.27s (± 1.64%) +0.01s (+ 1.04%) 1.23s 1.32s
Bind Time 0.71s (± 0.63%) 0.71s (± 0.96%) +0.00s (+ 0.42%) 0.71s 0.74s
Check Time 4.80s (± 0.31%) 4.83s (± 0.36%) +0.02s (+ 0.48%) 4.79s 4.86s
Emit Time 3.21s (± 0.73%) 3.28s (± 0.93%) +0.07s (+ 2.31%) 3.22s 3.38s
Total Time 9.98s (± 0.27%) 10.09s (± 0.39%) +0.11s (+ 1.09%) 10.03s 10.18s
material-ui - node (v14.15.1, x64)
Memory used 451,067k (± 0.01%) 448,369k (± 0.01%) -2,698k (- 0.60%) 448,329k 448,432k
Parse Time 1.74s (± 0.60%) 1.74s (± 0.43%) -0.00s (- 0.17%) 1.73s 1.76s
Bind Time 0.69s (± 0.65%) 0.69s (± 0.53%) -0.00s (- 0.29%) 0.68s 0.69s
Check Time 13.61s (± 0.50%) 12.88s (± 0.87%) 🟩-0.73s (- 5.37%) 12.72s 13.19s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 16.04s (± 0.43%) 15.30s (± 0.71%) 🟩-0.74s (- 4.58%) 15.14s 15.61s
System
Machine Namets-ci-ubuntu
Platformlinux 4.4.0-206-generic
Architecturex64
Available Memory16 GB
Available Memory1 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v10.16.3, x64)
  • node (v12.1.0, x64)
  • node (v14.15.1, x64)
Scenarios
  • Angular - node (v10.16.3, x64)
  • Angular - node (v12.1.0, x64)
  • Angular - node (v14.15.1, x64)
  • Compiler-Unions - node (v10.16.3, x64)
  • Compiler-Unions - node (v12.1.0, x64)
  • Compiler-Unions - node (v14.15.1, x64)
  • Monaco - node (v10.16.3, x64)
  • Monaco - node (v12.1.0, x64)
  • Monaco - node (v14.15.1, x64)
  • TFS - node (v10.16.3, x64)
  • TFS - node (v12.1.0, x64)
  • TFS - node (v14.15.1, x64)
  • material-ui - node (v10.16.3, x64)
  • material-ui - node (v12.1.0, x64)
  • material-ui - node (v14.15.1, x64)
Benchmark Name Iterations
Current 44710 10
Baseline main 10

Developer Information:

Download Benchmark

@@ -6506,7 +6506,9 @@ namespace ts {
const visited = new Map<string, true>();
const toCanonical = createGetCanonicalFileName(useCaseSensitiveFileNames);
for (const basePath of patterns.basePaths) {
visitDirectory(basePath, combinePaths(currentDirectory, basePath), depth);
if (directoryExists(basePath)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amcasey I wonder if this check is causing a behavior change in the material-ui benchmark and changing the number of .d.ts files that get loaded or similar.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comparing --extendedDiagnostics might be a good first step to figuring out whether there really is an observable behavior change, if you haven't already done that @amcasey

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, we'd been discussing this offline and I forgot to update the issue. The perf suite was using the wrong baseline. I'll kick off a clean run now, but local testing showed no change in the check time of material-ui.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I should also say that I don't believe it will cause a behavioral change because visitDirectory would just see an empty list of fs entries for the non-existent directory and stop.

The latest perf run shows no change, as expected. 😄

Copy link

@gretzkiy gretzkiy Sep 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amcasey Hi! I don't know if it the right place to ask a question but I found this thread relative to the problem (I'm sorry if it's not). Should directoryExists be called with an absolute path like directoryExists(combinePaths(currentDirectory, basePath))?

I came across the undocumented breaking change in 4.4-beta that causes (for example) ts.sys.readDirectory("", [".ts",".tsx",".d.ts"],["node_modules","dist"],["**/*"]) to return an empty array. Before 4.4-beta it has been returning the correct array of files. So I wonder if it is a bug or desired behaviour.

Thank you in advance.

@amcasey
Copy link
Member Author

amcasey commented Jun 28, 2021

@typescript-bot perf test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 28, 2021

Heya @amcasey, I've started to run the perf test suite on this PR at d9ae52c. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@amcasey
The results of the perf run you requested are in!

Here they are:

Comparison Report - main..44710

Metric main 44710 Delta Best Worst
Angular - node (v10.16.3, x64)
Memory used 344,284k (± 0.02%) 344,381k (± 0.02%) +97k (+ 0.03%) 344,224k 344,508k
Parse Time 1.80s (± 0.55%) 1.79s (± 0.53%) -0.01s (- 0.50%) 1.78s 1.82s
Bind Time 0.84s (± 0.86%) 0.84s (± 0.90%) +0.00s (+ 0.36%) 0.83s 0.86s
Check Time 5.42s (± 0.56%) 5.42s (± 0.45%) +0.00s (+ 0.00%) 5.37s 5.48s
Emit Time 5.81s (± 0.74%) 5.81s (± 0.85%) -0.01s (- 0.10%) 5.73s 5.95s
Total Time 13.88s (± 0.51%) 13.87s (± 0.51%) -0.01s (- 0.07%) 13.74s 14.06s
Compiler-Unions - node (v10.16.3, x64)
Memory used 201,563k (± 0.04%) 201,532k (± 0.02%) -30k (- 0.02%) 201,456k 201,616k
Parse Time 0.78s (± 0.61%) 0.79s (± 0.87%) +0.01s (+ 1.03%) 0.77s 0.80s
Bind Time 0.53s (± 0.92%) 0.52s (± 0.91%) -0.01s (- 2.06%) 0.51s 0.53s
Check Time 7.89s (± 0.62%) 7.85s (± 0.54%) -0.05s (- 0.58%) 7.76s 7.93s
Emit Time 2.43s (± 0.75%) 2.44s (± 1.45%) +0.00s (+ 0.21%) 2.37s 2.51s
Total Time 11.63s (± 0.47%) 11.59s (± 0.48%) -0.04s (- 0.36%) 11.44s 11.71s
Monaco - node (v10.16.3, x64)
Memory used 340,707k (± 0.03%) 340,726k (± 0.03%) +19k (+ 0.01%) 340,637k 341,110k
Parse Time 1.46s (± 0.75%) 1.44s (± 1.01%) -0.01s (- 0.96%) 1.41s 1.48s
Bind Time 0.75s (± 0.86%) 0.75s (± 1.02%) -0.01s (- 0.93%) 0.73s 0.77s
Check Time 5.44s (± 0.55%) 5.44s (± 0.49%) +0.00s (+ 0.02%) 5.39s 5.49s
Emit Time 3.16s (± 0.98%) 3.14s (± 0.72%) -0.02s (- 0.51%) 3.09s 3.20s
Total Time 10.81s (± 0.36%) 10.77s (± 0.31%) -0.04s (- 0.32%) 10.71s 10.83s
TFS - node (v10.16.3, x64)
Memory used 304,010k (± 0.02%) 303,912k (± 0.02%) -99k (- 0.03%) 303,789k 304,044k
Parse Time 1.18s (± 0.82%) 1.18s (± 0.34%) +0.00s (+ 0.17%) 1.17s 1.19s
Bind Time 0.71s (± 0.66%) 0.71s (± 0.81%) 0.00s ( 0.00%) 0.70s 0.72s
Check Time 4.96s (± 0.48%) 4.96s (± 0.57%) -0.00s (- 0.04%) 4.90s 5.04s
Emit Time 3.31s (± 0.97%) 3.35s (± 1.21%) +0.04s (+ 1.36%) 3.28s 3.47s
Total Time 10.15s (± 0.48%) 10.20s (± 0.48%) +0.05s (+ 0.45%) 10.08s 10.29s
material-ui - node (v10.16.3, x64)
Memory used 471,002k (± 0.01%) 471,041k (± 0.01%) +39k (+ 0.01%) 470,899k 471,227k
Parse Time 1.71s (± 0.40%) 1.72s (± 0.44%) +0.00s (+ 0.12%) 1.70s 1.73s
Bind Time 0.67s (± 0.83%) 0.67s (± 0.78%) +0.00s (+ 0.15%) 0.66s 0.68s
Check Time 14.14s (± 0.47%) 14.18s (± 0.76%) +0.04s (+ 0.25%) 13.99s 14.40s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 16.52s (± 0.39%) 16.56s (± 0.70%) +0.04s (+ 0.24%) 16.36s 16.81s
Angular - node (v12.1.0, x64)
Memory used 322,554k (± 0.03%) 322,485k (± 0.03%) -70k (- 0.02%) 322,318k 322,702k
Parse Time 1.77s (± 0.31%) 1.77s (± 0.95%) -0.00s (- 0.06%) 1.75s 1.83s
Bind Time 0.83s (± 0.84%) 0.83s (± 0.74%) -0.00s (- 0.24%) 0.82s 0.85s
Check Time 5.26s (± 0.28%) 5.23s (± 0.32%) -0.03s (- 0.61%) 5.19s 5.26s
Emit Time 6.00s (± 0.25%) 5.99s (± 0.59%) -0.01s (- 0.23%) 5.92s 6.10s
Total Time 13.86s (± 0.19%) 13.82s (± 0.27%) -0.05s (- 0.33%) 13.74s 13.88s
Compiler-Unions - node (v12.1.0, x64)
Memory used 189,017k (± 0.08%) 188,797k (± 0.13%) -219k (- 0.12%) 188,210k 189,170k
Parse Time 0.77s (± 0.47%) 0.77s (± 0.94%) -0.00s (- 0.26%) 0.76s 0.79s
Bind Time 0.53s (± 0.98%) 0.53s (± 0.98%) -0.00s (- 0.38%) 0.52s 0.54s
Check Time 7.36s (± 0.72%) 7.34s (± 0.72%) -0.01s (- 0.19%) 7.25s 7.47s
Emit Time 2.45s (± 1.94%) 2.45s (± 1.12%) +0.01s (+ 0.37%) 2.39s 2.51s
Total Time 11.10s (± 0.80%) 11.10s (± 0.54%) -0.01s (- 0.05%) 11.02s 11.29s
Monaco - node (v12.1.0, x64)
Memory used 323,782k (± 0.02%) 323,811k (± 0.02%) +29k (+ 0.01%) 323,693k 323,926k
Parse Time 1.41s (± 0.67%) 1.42s (± 0.75%) +0.00s (+ 0.35%) 1.39s 1.44s
Bind Time 0.72s (± 0.66%) 0.72s (± 0.80%) +0.01s (+ 0.84%) 0.71s 0.74s
Check Time 5.29s (± 0.45%) 5.28s (± 0.27%) -0.01s (- 0.21%) 5.25s 5.31s
Emit Time 3.16s (± 0.53%) 3.16s (± 0.45%) -0.00s (- 0.03%) 3.12s 3.18s
Total Time 10.57s (± 0.31%) 10.57s (± 0.20%) -0.00s (- 0.02%) 10.52s 10.62s
TFS - node (v12.1.0, x64)
Memory used 288,607k (± 0.02%) 288,664k (± 0.02%) +57k (+ 0.02%) 288,528k 288,770k
Parse Time 1.19s (± 0.84%) 1.19s (± 0.49%) -0.00s (- 0.25%) 1.18s 1.20s
Bind Time 0.70s (± 2.25%) 0.70s (± 0.80%) -0.00s (- 0.14%) 0.69s 0.71s
Check Time 4.88s (± 0.41%) 4.87s (± 0.68%) -0.02s (- 0.31%) 4.82s 4.97s
Emit Time 3.32s (± 0.97%) 3.33s (± 1.14%) +0.02s (+ 0.51%) 3.27s 3.45s
Total Time 10.09s (± 0.41%) 10.09s (± 0.38%) -0.00s (- 0.03%) 10.01s 10.18s
material-ui - node (v12.1.0, x64)
Memory used 449,583k (± 0.07%) 449,652k (± 0.07%) +69k (+ 0.02%) 448,424k 449,872k
Parse Time 1.71s (± 0.49%) 1.71s (± 0.41%) 0.00s ( 0.00%) 1.69s 1.72s
Bind Time 0.65s (± 0.69%) 0.64s (± 0.90%) -0.01s (- 0.77%) 0.63s 0.66s
Check Time 12.77s (± 0.79%) 12.79s (± 0.48%) +0.02s (+ 0.13%) 12.68s 12.94s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 15.12s (± 0.70%) 15.14s (± 0.42%) +0.01s (+ 0.08%) 15.02s 15.28s
Angular - node (v14.15.1, x64)
Memory used 321,236k (± 0.01%) 321,262k (± 0.01%) +26k (+ 0.01%) 321,240k 321,304k
Parse Time 1.80s (± 0.60%) 1.80s (± 0.56%) -0.00s (- 0.17%) 1.78s 1.82s
Bind Time 0.87s (± 0.68%) 0.87s (± 0.39%) -0.00s (- 0.11%) 0.87s 0.88s
Check Time 5.24s (± 0.43%) 5.24s (± 0.42%) -0.00s (- 0.10%) 5.20s 5.30s
Emit Time 6.11s (± 0.52%) 6.09s (± 0.53%) -0.02s (- 0.29%) 6.02s 6.15s
Total Time 14.03s (± 0.41%) 14.00s (± 0.38%) -0.03s (- 0.18%) 13.91s 14.13s
Compiler-Unions - node (v14.15.1, x64)
Memory used 188,372k (± 0.50%) 188,023k (± 0.38%) -349k (- 0.19%) 187,635k 190,903k
Parse Time 0.80s (± 0.62%) 0.81s (± 0.61%) +0.00s (+ 0.12%) 0.80s 0.82s
Bind Time 0.56s (± 0.59%) 0.56s (± 0.65%) -0.00s (- 0.71%) 0.55s 0.56s
Check Time 7.52s (± 0.58%) 7.50s (± 0.45%) -0.02s (- 0.24%) 7.44s 7.57s
Emit Time 2.43s (± 0.51%) 2.44s (± 0.73%) +0.01s (+ 0.45%) 2.41s 2.50s
Total Time 11.30s (± 0.42%) 11.29s (± 0.40%) -0.01s (- 0.09%) 11.21s 11.40s
Monaco - node (v14.15.1, x64)
Memory used 322,575k (± 0.00%) 322,578k (± 0.01%) +3k (+ 0.00%) 322,530k 322,628k
Parse Time 1.48s (± 0.46%) 1.48s (± 0.57%) +0.00s (+ 0.27%) 1.46s 1.50s
Bind Time 0.75s (± 0.53%) 0.75s (± 0.74%) +0.00s (+ 0.40%) 0.74s 0.77s
Check Time 5.28s (± 0.45%) 5.27s (± 0.52%) -0.01s (- 0.25%) 5.22s 5.36s
Emit Time 3.21s (± 0.85%) 3.21s (± 0.69%) -0.00s (- 0.16%) 3.17s 3.27s
Total Time 10.72s (± 0.38%) 10.71s (± 0.43%) -0.01s (- 0.13%) 10.63s 10.83s
TFS - node (v14.15.1, x64)
Memory used 287,651k (± 0.01%) 287,656k (± 0.01%) +5k (+ 0.00%) 287,618k 287,732k
Parse Time 1.26s (± 0.75%) 1.26s (± 1.68%) -0.00s (- 0.32%) 1.23s 1.31s
Bind Time 0.72s (± 1.14%) 0.72s (± 0.93%) -0.00s (- 0.00%) 0.71s 0.74s
Check Time 4.92s (± 0.44%) 4.91s (± 0.59%) -0.01s (- 0.12%) 4.83s 4.97s
Emit Time 3.43s (± 1.05%) 3.43s (± 0.39%) -0.01s (- 0.17%) 3.40s 3.46s
Total Time 10.33s (± 0.40%) 10.31s (± 0.33%) -0.01s (- 0.15%) 10.24s 10.38s
material-ui - node (v14.15.1, x64)
Memory used 448,095k (± 0.00%) 448,101k (± 0.01%) +5k (+ 0.00%) 448,033k 448,144k
Parse Time 1.76s (± 0.34%) 1.75s (± 0.87%) -0.00s (- 0.17%) 1.73s 1.80s
Bind Time 0.69s (± 0.98%) 0.69s (± 0.96%) -0.00s (- 0.58%) 0.68s 0.70s
Check Time 12.99s (± 0.83%) 12.91s (± 0.66%) -0.09s (- 0.68%) 12.74s 13.10s
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) 0.00s ( NaN%) 0.00s 0.00s
Total Time 15.44s (± 0.72%) 15.35s (± 0.54%) -0.09s (- 0.61%) 15.18s 15.53s
System
Machine Namets-ci-ubuntu
Platformlinux 4.4.0-206-generic
Architecturex64
Available Memory16 GB
Available Memory1 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v10.16.3, x64)
  • node (v12.1.0, x64)
  • node (v14.15.1, x64)
Scenarios
  • Angular - node (v10.16.3, x64)
  • Angular - node (v12.1.0, x64)
  • Angular - node (v14.15.1, x64)
  • Compiler-Unions - node (v10.16.3, x64)
  • Compiler-Unions - node (v12.1.0, x64)
  • Compiler-Unions - node (v14.15.1, x64)
  • Monaco - node (v10.16.3, x64)
  • Monaco - node (v12.1.0, x64)
  • Monaco - node (v14.15.1, x64)
  • TFS - node (v10.16.3, x64)
  • TFS - node (v12.1.0, x64)
  • TFS - node (v14.15.1, x64)
  • material-ui - node (v10.16.3, x64)
  • material-ui - node (v12.1.0, x64)
  • material-ui - node (v14.15.1, x64)
Benchmark Name Iterations
Current 44710 10
Baseline main 10

Developer Information:

Download Benchmark

@DanielRosenwasser DanielRosenwasser merged commit c0d5c29 into microsoft:main Jun 28, 2021
DanielRosenwasser added a commit that referenced this pull request Sep 21, 2021
@amcasey amcasey deleted the ReduceExceptions branch September 24, 2021 17:30
amcasey added a commit to amcasey/TypeScript that referenced this pull request Sep 27, 2021
As pointed out by @gretzkiy, the `directoryExists` call added to
`matchFiles` in microsoft#44710 should have been passing the absolute path (since
the current directory might not match `currentDirectory`).
andrewbranch added a commit that referenced this pull request Oct 21, 2021
* Pass absolute path to directoryExists

As pointed out by @gretzkiy, the `directoryExists` call added to
`matchFiles` in #44710 should have been passing the absolute path (since
the current directory might not match `currentDirectory`).

* Add test, simplify/clarify/fix matchFiles and friends

Co-authored-by: Andrew Branch <andrew@wheream.io>
andrewbranch added a commit to andrewbranch/TypeScript that referenced this pull request Nov 11, 2021
typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Nov 11, 2021
Component commits:
931b504 Revert "Fix RWC missing file detection (microsoft#46673)"
This reverts commit 4a065f5.

afef282 Revert "Pass absolute path to directoryExists (microsoft#46086)"
This reverts commit 55b4928.

f1a20b3 Revert "Reduce exceptions (microsoft#44710)"
This reverts commit c0d5c29.

56842cd Add back system watcher limit
andrewbranch added a commit that referenced this pull request Nov 11, 2021
* Revert "Fix RWC missing file detection (#46673)"

This reverts commit 4a065f5.

* Revert "Pass absolute path to directoryExists (#46086)"

This reverts commit 55b4928.

* Revert "Reduce exceptions (#44710)"

This reverts commit c0d5c29.

* Add back system watcher limit
andrewbranch added a commit that referenced this pull request Nov 11, 2021
Component commits:
931b504 Revert "Fix RWC missing file detection (#46673)"
This reverts commit 4a065f5.

afef282 Revert "Pass absolute path to directoryExists (#46086)"
This reverts commit 55b4928.

f1a20b3 Revert "Reduce exceptions (#44710)"
This reverts commit c0d5c29.

56842cd Add back system watcher limit

Co-authored-by: Andrew Branch <andrew@wheream.io>
mprobst pushed a commit to mprobst/TypeScript that referenced this pull request Jan 10, 2022
* Pass absolute path to directoryExists

As pointed out by @gretzkiy, the `directoryExists` call added to
`matchFiles` in microsoft#44710 should have been passing the absolute path (since
the current directory might not match `currentDirectory`).

* Add test, simplify/clarify/fix matchFiles and friends

Co-authored-by: Andrew Branch <andrew@wheream.io>
mprobst pushed a commit to mprobst/TypeScript that referenced this pull request Jan 10, 2022
…46787)

* Revert "Fix RWC missing file detection (microsoft#46673)"

This reverts commit 4a065f5.

* Revert "Pass absolute path to directoryExists (microsoft#46086)"

This reverts commit 55b4928.

* Revert "Reduce exceptions (microsoft#44710)"

This reverts commit c0d5c29.

* Add back system watcher limit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants