Todd Grunke

Results 13 issues of Todd Grunke

I've got a question about logging in O#. For context, I work on the Visual Studio web tooling team, and we are using O# for html and css language server...

Lexer.LexDirectiveTrailingTrivia was calling into AddTrivia with a null SyntaxListBuilder, causing allocations. Instead, use the existing _trailingTriviaCache member in that context. From the non-devenv allocations Completion speedometer: ![image](https://github.com/dotnet/roslyn/assets/6785178/f5106cbc-e30c-4122-8b99-27709635ed7b)

Area-Compilers
untriaged

This code realized an ImmutableArray before from an ArrayBuilder. This immutablearray was only used within the scope of SynchronizeAssetsAsync. *** Prior allocations from speedometer: ![image](https://github.com/dotnet/roslyn/assets/6785178/bdec15d1-ab2c-44af-a483-3c3ab90e1a46)

Area-IDE
untriaged

The _projectIdToTrackerMap member is heavily indicted in the non-devenv allocations in the CompletionTest.Completions speedometer test (over 1 GB of allocations). As this member is private, we have the ability to...

During completion, I see this method generating results with several thousand entries which is evident in allocations in a profile I'm inspecting. This PR attempts to reduce intermediary arrays constructed...

The _projectIdToTrackerMap member is heavily indicted in the non-devenv allocations in the CompletionTest.Completions speedometer test (over 1 GB of allocations). As this member is private, we have the ability to...

The _projectIdToTrackerMap member is heavily indicted in the non-devenv allocations in the CompletionTest.Completions speedometer test (over 1 GB of allocations). As this member is private, we have the ability to...

Area-IDE
untriaged

Found while investigating allocations in the completion speedometer test. @333fred -- @DustinCampbell mentioned this might be going away soon, if so, then I guess this bug can just be closed....

untriaged
area-compiler

WebTools uses refdump to find references to our public API surface area from VS marketplace extensions. However, some of these extensions include our assemblies, and thus a lot of extra...

# Bug Fixes: https://github.com/NuGet/Home/issues/13647 Reduces allocations during solution load in VS ## Description Modified several data structures to be immutable, such that the PackageSpec.Clone operation can allocate significantly less. The...

Community