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

Revert incremental change forwarding #4477

Merged
merged 2 commits into from
Apr 6, 2021

Conversation

333fred
Copy link
Member

@333fred 333fred commented Apr 5, 2021

While I made this change with good intentions (and the perf benefit when working in Roslyn has been very real), this has proven to be more trouble than it's worth. LSP will be the way to get the perf benefits of incremental changes and should prove to be far more robust. This is a checkout of changeForwarding.ts to d26e995. The only other commits to this file since then have been about 0-based indexes, which no longer matters with this revert.

While I made this change with good intentions (and the perf benefit when working in Roslyn has been very real), this has proven to be more trouble than it's worth. LSP will be the way to get the perf benefits of incremental changes and should prove to be far more robust. This is a checkout of changeForwarding.ts to d26e995. The only other commits to this file since then have been about 0-based indexes, which no longer matters with this revert.
@codecov
Copy link

codecov bot commented Apr 5, 2021

Codecov Report

Merging #4477 (696b97d) into master (c33ae53) will decrease coverage by 0.10%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4477      +/-   ##
==========================================
- Coverage   68.74%   68.63%   -0.11%     
==========================================
  Files         108      108              
  Lines        4322     4307      -15     
  Branches      751      747       -4     
==========================================
- Hits         2971     2956      -15     
- Misses       1143     1145       +2     
+ Partials      208      206       -2     
Flag Coverage Δ
integration 53.38% <100.00%> (-0.20%) ⬇️
unit 85.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/features/changeForwarding.ts 77.77% <100.00%> (+1.58%) ⬆️
src/features/diagnosticsProvider.ts 76.85% <0.00%> (-4.63%) ⬇️
src/features/codeLensProvider.ts 54.65% <0.00%> (-1.17%) ⬇️
src/features/semanticTokensProvider.ts 86.00% <0.00%> (+4.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 737324e...696b97d. Read the comment docs.

Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

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

Thanks @333fred!

src/features/changeForwarding.ts Outdated Show resolved Hide resolved
src/features/changeForwarding.ts Show resolved Hide resolved
@JoeRobich JoeRobich merged commit 5270351 into dotnet:master Apr 6, 2021
@333fred 333fred deleted the revert-incremental branch April 6, 2021 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants