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

Minor optimizations #3687

Merged
merged 6 commits into from
Jun 2, 2022
Merged

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented May 27, 2022

Description

Some minor optimizations

{
#if DEBUG && (NETFRAMEWORK || NET || NETSTANDARD2_0_OR_GREATER)
Copy link
Member Author

Choose a reason for hiding this comment

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

Seemed to work okay, but not worth the risk of breaking this in production.

RunSettingsUtilities.CreateAndInitializeRunSettings(discoveryCriteria.RunSettings),
discoveryCriteria.TestCaseFilter,
_sessionMessageLogger);
var runSettings = RunSettingsUtilities.CreateAndInitializeRunSettings(discoveryCriteria.RunSettings);
Copy link
Member Author

Choose a reason for hiding this comment

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

This did a lot in the the method call. This way it is much easier to see what is passed on.

@nohwnd nohwnd force-pushed the multi-tfm-perf-optimizations branch from c43015c to aec5bcc Compare May 27, 2022 14:36
@Evangelink Evangelink enabled auto-merge (squash) June 1, 2022 11:47
@nohwnd nohwnd disabled auto-merge June 2, 2022 06:57
@nohwnd nohwnd merged commit ce79eb4 into microsoft:main Jun 2, 2022
@nohwnd nohwnd deleted the multi-tfm-perf-optimizations branch June 2, 2022 06:57
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.

2 participants