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

Showing a document does MEF work on the UI thread #4367

Closed
Therzok opened this Issue Mar 29, 2018 · 0 comments

Comments

Projects
None yet
5 participants
@Therzok
Member

Therzok commented Mar 29, 2018

1.16%   InitializeExtensionChain  •  1,034 ms  •  19 calls  •  MonoDevelop.Ide.Gui.Document.InitializeExtensionChain
  1.13%   InitializeExtensionChain  •  1,006 ms  •  19 calls  •  MonoDevelop.Ide.Editor.TextEditor.InitializeExtensionChain(DocumentContext)
    0.95%   CreateInstance  •  841 ms  •  513 calls  •  Mono.Addins.TypeExtensionNode.CreateInstance
      0.92%   CreateInstance  •  823 ms  •  513 calls  •  System.Activator.CreateInstance(Type)
        0.82%   CodeActionEditorExtension..cctor  •  727 ms  •  1 call  •  MonoDevelop.CodeActions.CodeActionEditorExtension..cctor
          0.82%   GetExportedValue  •  727 ms  •  2 calls  •  MonoDevelop.Ide.Composition.CompositionManager.GetExportedValue
            0.82%   GetExportedValue  •  727 ms  •  2 calls  •  Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue
              0.72%   MonoDevelopWorkspaceDiagnosticAnalyzerProviderService..ctor  •  644 ms  •  1 call  •  MonoDevelop.AnalysisCore.MonoDevelopWorkspaceDiagnosticAnalyzerProviderService..ctor
                0.72%   CreateHostDiagnosticAnalyzerPackages  •  641 ms  •  1 call  •  MonoDevelop.AnalysisCore.MonoDevelopWorkspaceDiagnosticAnalyzerProviderService.CreateHostDiagnosticAnalyzerPackages
                  0.71%   ProcessAssembly  •  632 ms  •  21 calls  •  MonoDevelop.AnalysisCore.MonoDevelopWorkspaceDiagnosticAnalyzerProviderService+OptionsTable.ProcessAssembly(Assembly)
                    ►0.41%   GetTypes  •  369 ms  •  21 calls  •  System.Reflection.Assembly.GetTypes
                    ►0.09%   get_SupportedDiagnostics  •  82 ms  •  2 calls  •  Microsoft.CodeAnalysis.Diagnostics.CompilerDiagnosticAnalyzer.get_SupportedDiagnostics
                     0.09%   GetCustomAttributes  •  81 ms  •  22,766 calls  •  System.RuntimeType.GetCustomAttributes(Type, Boolean)
                    ►0.06%   CreateInstance  •  55 ms  •  175 calls  •  System.Activator.CreateInstance(Type)
                     0.02%   RudeEditDiagnosticDescriptors..cctor  •  15 ms  •  1 call  •  Microsoft.CodeAnalysis.EditAndContinue.RudeEditDiagnosticDescriptors..cctor
                     0.01%   get_SupportedDiagnostics  •  5 ms  •  1 call  •  Microsoft.CodeAnalysis.EditAndContinue.RudeEditDiagnosticAnalyzer.get_SupportedDiagnostics
                     0.00%   FirstOrDefault  •  3 ms  •  22,766 calls  •  System.Linq.Enumerable.FirstOrDefault(IEnumerable[TSource])
                    ►0.00%   IsDiagnosticSupported  •  2 ms  •  3,073 calls  •  MonoDevelop.AnalysisCore.MonoDevelopWorkspaceDiagnosticAnalyzerProviderService+OptionsTable.IsDiagnosticSupported(DiagnosticDescriptor)
                     0.00%   get_IsAbstract  •  2 ms  •  12,814 calls  •  System.Type.get_IsAbstract
                    ►0.00%   get_SupportedDiagnostics  •  1 ms  •  1 call  •  RefactoringEssentials.CSharp.Diagnostics.NotResolvedInTextAnalyzer.get_SupportedDiagnostics
                     0.00%   set_Item  •  1 ms  •  3,165 calls  •  System.Collections.Generic.Dictionary`2.set_Item(TKey, TValue)
                     0.00%   get_SupportedDiagnostics  •  0 ms  •  2 calls  •  Microsoft.CodeAnalysis.Diagnostics.AddImport.UnboundIdentifiersDiagnosticAnalyzerBase`5.get_SupportedDiagnostics
                     0.00%   RenameTrackingDiagnosticAnalyzer..cctor  •  0 ms  •  1 call  •  Microsoft.CodeAnalysis.Editor.Implementation.RenameTracking.RenameTrackingDiagnosticAnalyzer..cctor
                     0.00%   get_SupportedDiagnostics  •  0 ms  •  2 calls  •  Microsoft.CodeAnalysis.RemoveUnnecessaryImports.AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.get_SupportedDiagnostics
                     0.00%   get_SupportedDiagnostics  •  0 ms  •  2 calls  •  Microsoft.CodeAnalysis.Diagnostics.PreferFrameworkType.PreferFrameworkTypeDiagnosticAnalyzerBase`3.get_SupportedDiagnostics
                    ►0.00%   LogError  •  0 ms  •  6 calls  •  MonoDevelop.Core.LoggingService.LogError(String, Exception)
                     0.00%   AbstractValidateFormatStringDiagnosticAnalyzer`1..cctor  •  0 ms  •  2 calls  •  Microsoft.CodeAnalysis.ValidateFormatString.AbstractValidateFormatStringDiagnosticAnalyzer`1..cctor
                     0.00%   MoveNext  •  0 ms  •  3,248 calls  •  System.Collections.Immutable.ImmutableArray+Enumerator`1.MoveNext
                    ►0.00%   CodeDiagnosticDescriptor..ctor  •  0 ms  •  175 calls  •  MonoDevelop.CodeIssues.CodeDiagnosticDescriptor..ctor(String[], Type)
                     0.00%   get_Id  •  0 ms  •  2,997 calls  •  Microsoft.CodeAnalysis.DiagnosticDescriptor.get_Id
                     0.00%   get_Current  •  0 ms  •  3,073 calls  •  System.Collections.Immutable.ImmutableArray+Enumerator`1.get_Current
                    ►0.00%   OnAssemblyLoadEvent  •  0 ms  •  1 call  •  System.AppDomain.OnAssemblyLoadEvent(RuntimeAssembly)
                     0.00%   get_Languages  •  0 ms  •  175 calls  •  Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerAttribute.get_Languages
                     0.00%   Add  •  0 ms  •  175 calls  •  System.Collections.Generic.List`1.Add(T)
                   0.01%   17 functions hidden  •  8 ms total  •  1346 calls total
                 0.00%   5 functions hidden  •  1 ms total  •  5 calls total
               0.00%   7 functions hidden  •  1 ms total  •  10 calls total
             0.00%   2 functions hidden  •  0 ms total  •  4 calls total
         0.10%   45 functions hidden  •  88 ms total  •  533 calls total
      ►0.02%   get_Type  •  18 ms  •  513 calls  •  Mono.Addins.TypeExtensionNode.get_Type
    ►0.11%   SetExtensionChain  •  101 ms  •  19 calls  •  MonoDevelop.Ide.Editor.TextEditor.SetExtensionChain(DocumentContext, IEnumerable[TextEditorExtension])
     0.07%   15 functions hidden  •  63 ms total  •  5396 calls total
   0.03%   3 functions hidden  •  27 ms total  •  57 calls total

VS bug #593833

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment