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

Fix excessive compilation times due to speculative parsing after an incomplete string #72565

Merged
merged 9 commits into from
Mar 20, 2024

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Mar 15, 2024

Fixes #72557

Don't love this approach, but couldn't think of anythign better. See comments in bug for what's going on.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 15, 2024 18:48
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 15, 2024
@CyrusNajmabadi
Copy link
Member Author

@RikkiGibson @cston ptal

@RikkiGibson
Copy link
Contributor

RikkiGibson commented Mar 19, 2024

@CyrusNajmabadi CyrusNajmabadi enabled auto-merge (squash) March 20, 2024 17:09
@CyrusNajmabadi CyrusNajmabadi merged commit 9aea13f into dotnet:main Mar 20, 2024
24 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 20, 2024
333fred added a commit that referenced this pull request Mar 20, 2024
* upstream/main: (1045 commits)
  Fix excessive compilation times due to speculative parsing after an incomplete string (#72565)
  Convert official pipeline to 1ES template (#72430)
  Fix #69628 Analyzer summary should show suppressor ID (#72569)
  Fix event hookup even when in a projection buffer
  Drop win32-ia32 language server support
  Remove workaround for .net7 r2r assembly loading issue
  remove unused usings
  Share compilation when generators don't produce any generated files
  Fix potential exception in AssetProvider.SynchronizeAssetsAsync (#72597)
  Fix
  Update __arglist.md (#72523)
  Improve code gen for concatenation of `string` and `char` (#71793)
  Reduce File I/O under the AnalyzerAssemblyLoader folder (#72412)
  Reduce allocations in AbstractTypeMap (#72588)
  disable diagnostics when solution crawler option is disabled
  disable diagnostics when solution crawler option is disabled
  better thread transitions
  Fix
  Add check
  Fix
  ...
@CyrusNajmabadi CyrusNajmabadi deleted the parsingPerf2 branch March 20, 2024 23:55
@RikkiGibson RikkiGibson modified the milestones: Next, 17.10 P3 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler doesn't terminate on file with syntax errors
4 participants