Skip to content

Conversation

Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Aug 13, 2025

Scenario: 10k tests in a test class

Memory allocations before: ~227MB
Memory allocations after: ~208MB

@Youssef1313 Youssef1313 marked this pull request as draft August 13, 2025 17:05
Comment on lines -157 to -165

// VSTest managed feature is not working properly and ends up providing names that are not fully
// unescaped causing reflection to fail loading. For the cases we know this is happening, we will
// try to manually unescape the type name and load the type again.
if (type == null
&& TryGetUnescapedManagedTypeName(testMethod, out string? unescapedTypeName))
{
type = LoadType(unescapedTypeName, testMethod.AssemblyName);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I need to validate if there are any F# issues here with types containing spaces or not.

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.

1 participant