You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid concurrent generation of the html document within a razor code document.
I see about 40% of edits generate the html document multiple times, primarily due to concurrent RazorCodeCode.GetHtmlDocument requests from the callstacks below (measured on release bits without a debugger attached). As these requests are on the same code document, they can be collapsed into a single request.
*** callstack 1 ***
RazorCodeDocument.GetHtmlDocument
RazorCodeDocumentExtensions.GetHtmlSourceText
GeneratedDocumentSynchronizer.DocumentProcessed
OpenDocumentGenerator.ProcessBatchAsync
*** callstack 2 ***
RazorCodeDocument.GetHtmlDocument
IDocumentMappingServiceExtensions.GetPositionInfo
DelegatedCompletionListProvider.GetCompletionListAsync
CompletionListProvider.GetCompletionListCoreAsync
0 commit comments