-
-
Save layomia/5115262732865825cfba565e71078271 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: average time spent in generator down from ~225 ms to 102 ms. Effectively on par with other generators | |
ServiceHub.RoslynCodeAnalysisService (PID 42760): | |
┌──────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬───────────────────┬──────────────────┬───────┐ | |
│ Generator │ Last Run Time (ms) │ Average Time (ms) │ Cumulative Time │ Count │ | |
├──────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼───────────────────┼──────────────────┼───────┤ | |
│ GeneratorDriver │ 34.753 │ 267.8243 │ 00:01:08.2952017 │ 255 │ | |
│ │ │ │ │ │ | |
│ System.Text.RegularExpressions.Generator.RegexGenerator │ 1.3364 │ 113.4456 │ 00:00:05.4453910 │ 48 │ | |
│ Microsoft.Interop.LibraryImportGenerator │ 61.4624 │ 102.8562 │ 00:00:04.9371004 │ 48 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 1.1114 │ 66.906 │ 00:00:03.2114882 │ 48 │ | |
│ Microsoft.Extensions.Configuration.Binder.SourceGeneration.ConfigurationBindingGenerator │ 34.4968 │ 225.4288 │ 00:00:30.8837491 │ 137 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 29.0495 │ 384.1714 │ 00:00:13.4459997 │ 35 │ | |
│ CSharpSyntaxGenerator.SourceGenerator │ 72.2611 │ 280.4473 │ 00:00:03.0849211 │ 11 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 0.1446 │ 44.9194 │ 00:00:04.1325887 │ 92 │ | |
│ Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator │ 60.2189 │ 47.8833 │ 00:00:00.3351832 │ 7 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 26.7591 │ 26.7591 │ 00:00:00.0267591 │ 1 │ | |
│ Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator │ 7.1861 │ 10.7918 │ 00:00:00.0215836 │ 2 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 176.3247 │ 137.9696 │ 00:00:00.2759393 │ 2 │ | |
│ System.Text.RegularExpressions.Generator.RegexGenerator │ 139.092 │ 105.4491 │ 00:00:00.2108982 │ 2 │ | |
│ Microsoft.Interop.ComInterfaceGenerator │ 315.0864 │ 326.2104 │ 00:00:00.6524208 │ 2 │ | |
│ Microsoft.Interop.ComClassGenerator │ 138.5914 │ 94.3153 │ 00:00:00.1886307 │ 2 │ | |
│ Microsoft.Interop.VtableIndexStubGenerator │ 282.5391 │ 188.4863 │ 00:00:00.3769727 │ 2 │ | |
│ Microsoft.Interop.LibraryImportGenerator │ 288.9584 │ 185.2649 │ 00:00:00.3705298 │ 2 │ | |
│ Microsoft.VisualStudio.Extensibility.Testing.SourceGenerator.TestServicesSourceGenerator │ 72.0149 │ 72.0149 │ 00:00:00.0720149 │ 1 │ | |
└──────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴───────────────────┴──────────────────┴───────┘ | |
After | |
ServiceHub.RoslynCodeAnalysisService (PID 10760): | |
┌──────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬───────────────────┬──────────────────┬───────┐ | |
│ Generator │ Last Run Time (ms) │ Average Time (ms) │ Cumulative Time │ Count │ | |
├──────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼───────────────────┼──────────────────┼───────┤ | |
│ GeneratorDriver │ 0.344 │ 145.191 │ 00:00:47.6226548 │ 328 │ | |
│ │ │ │ │ │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 0.572 │ 85.1588 │ 00:00:05.4501674 │ 64 │ | |
│ Microsoft.Interop.LibraryImportGenerator │ 2.4026 │ 78.8313 │ 00:00:05.0452093 │ 64 │ | |
│ System.Text.RegularExpressions.Generator.RegexGenerator │ 0.3687 │ 55.2072 │ 00:00:03.5332665 │ 64 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 0.3066 │ 139.2282 │ 00:00:05.0122163 │ 36 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 0.8896 │ 27.5999 │ 00:00:03.4499917 │ 125 │ | |
│ Microsoft.Extensions.Configuration.Binder.SourceGeneration.ConfigurationBindingGenerator │ 9.8523 │ 101.8648 │ 00:00:19.7617721 │ 194 │ | |
│ CSharpSyntaxGenerator.SourceGenerator │ 74.0514 │ 98.0236 │ 00:00:00.5881419 │ 6 │ | |
│ Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator │ 39.5652 │ 25.8446 │ 00:00:00.3359808 │ 13 │ | |
│ Microsoft.Interop.ComClassGenerator │ 90.6095 │ 148.763 │ 00:00:00.5950521 │ 4 │ | |
│ System.Text.RegularExpressions.Generator.RegexGenerator │ 51.7038 │ 101.1497 │ 00:00:00.4045991 │ 4 │ | |
│ Microsoft.Interop.VtableIndexStubGenerator │ 99.9297 │ 190.8501 │ 00:00:00.7634007 │ 4 │ | |
│ Microsoft.Interop.LibraryImportGenerator │ 81.8499 │ 188.7335 │ 00:00:00.7549342 │ 4 │ | |
│ Microsoft.Interop.ComInterfaceGenerator │ 94.786 │ 226.0701 │ 00:00:00.9042806 │ 4 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 40.3737 │ 82.2987 │ 00:00:00.3291951 │ 4 │ | |
│ System.Text.Json.SourceGeneration.JsonSourceGenerator │ 1.8892 │ 2.2957 │ 00:00:00.0045914 │ 2 │ | |
│ Microsoft.VisualStudio.Extensibility.Testing.SourceGenerator.TestServicesSourceGenerator │ 119.825 │ 73.163 │ 00:00:00.1463260 │ 2 │ | |
│ Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator │ 6.7277 │ 10.0637 │ 00:00:00.0201274 │ 2 │ | |
└──────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴───────────────────┴──────────────────┴───────┘ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment