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

Perf improvements #1517

Merged
merged 6 commits into from
Mar 28, 2018
Merged

Perf improvements #1517

merged 6 commits into from
Mar 28, 2018

Conversation

mayankbansal018
Copy link
Contributor

Merging Changes done for modifying adapter look up model in Translation Layer.

abhishkk and others added 5 commits March 23, 2018 18:23
* Skip default extensions

* Review comments

* Unit tests

* review comments
* Perf tests for Skip default adapters

* review comments

* review comments
* Donot initialize trace if specifically asked not to

* For Testhost only Initialize Tracing if --diag is passed

* test fix

* Tracing for datacollector also to be initialized via --diag switch
/// <returns>DiscoveryRequest object</returns>
IDiscoveryRequest CreateDiscoveryRequest(IRequestData requestData, DiscoveryCriteria discoveryCriteria);
IDiscoveryRequest CreateDiscoveryRequest(IRequestData requestData, DiscoveryCriteria discoveryCriteria, TestPlatformOptions options);
Copy link
Contributor

Choose a reason for hiding this comment

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

IDiscoveryRequest [](start = 8, length = 17)

this is a public interface. isnt this a breakingchange

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no this is not, since Tpv2 this Interface is not meant to be implemented by anyone outside vstest.console
If you see in ITestPlatform we have also made the class internal

@@ -31,7 +31,7 @@ namespace Microsoft.VisualStudio.TestPlatform.Client
/// <summary>
/// Implementation for TestPlatform
/// </summary>
public class TestPlatform : ITestPlatform
internal class TestPlatform : ITestPlatform
Copy link
Contributor

@acesiddhu acesiddhu Mar 28, 2018

Choose a reason for hiding this comment

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

internal [](start = 4, length = 8)

I am assuming adapters to customer havent taken a dependency on this.

Copy link
Contributor

Choose a reason for hiding this comment

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

@mayankbansal018 mayankbansal018 merged commit e48fde2 into master Mar 28, 2018
@smadala smadala deleted the perf-improvements branch April 18, 2018 13:33
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