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

Disable some impactful analyzers #1246

Merged
merged 6 commits into from
Dec 2, 2023
Merged

Conversation

Rob-Hague
Copy link
Collaborator

I promise to stop whining about analyzers if this is merged.

Before:

image

After:

image

Done with a clean build each time (git clean -xdf). The individual numbers are quite variable, but it is around 60% build time reduction (still much longer than it used to be).

@WojciechNagorski
Copy link
Collaborator

LGTM! I think it's good compromise.
@drieseng it's your topic? Are you agree?

@drieseng
Copy link
Member

drieseng commented Nov 28, 2023

The individual numbers are quite variable, but it is around 60% build time reduction (still much longer than it used to be).

Is that also the explanation for the Meziantou numbers? As far as I can tell, you didn't disable any of it rules.

.editorconfig Show resolved Hide resolved
.editorconfig Outdated Show resolved Hide resolved
.editorconfig Show resolved Hide resolved
.editorconfig Show resolved Hide resolved
.editorconfig Show resolved Hide resolved
@Rob-Hague
Copy link
Collaborator Author

Is that also the explanation for the Meziantou numbers? As far as I can tell, you didn't disable any of it rules.

Yes I believe so, I don't have a better explanation

(sorry, somehow I edited your comment to this comment...)

@Rob-Hague Rob-Hague merged commit 9b0262c into sshnet:develop Dec 2, 2023
1 check passed
@Rob-Hague Rob-Hague deleted the analyzers branch December 2, 2023 15:41
@WojciechNagorski WojciechNagorski added this to the 2023.0.1 milestone Dec 20, 2023
@WojciechNagorski
Copy link
Collaborator

The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1

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.

3 participants