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
{{ message }}
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Linker performance issue with GetCustomDebugInformation #1409
When linking a set of assemblies which contain Microsoft.SourceLink.GitHub with EmbedUntrackedSources enabled, the processing time will increase significantly.
This issue is getting problematic when using C# 9.0 source generators, as their symbols and source is getting embedded in the pdbs, making the linker step significantly longer.
(/cc @jaredpar who may be interested as this relates to source generation)
The origin of the files will not impact, indeed. I'm mentioning this issue as there may be more scenarios coming in the future involving source generation than ones with source link.
Activity
fix(perf): Disable untracked sources
marek-safar commentedon Aug 5, 2020
Will keep this open as tracking issue for Cecil issue
jeromelaban commentedon Oct 3, 2020
This issue is getting problematic when using C# 9.0 source generators, as their symbols and source is getting embedded in the pdbs, making the linker step significantly longer.
(/cc @jaredpar who may be interested as this relates to source generation)
jaredpar commentedon Oct 5, 2020
Source generators should observably be no different than just embedding sources during build as it's just embedding a subset of files.
jeromelaban commentedon Oct 5, 2020
The origin of the files will not impact, indeed. I'm mentioning this issue as there may be more scenarios coming in the future involving source generation than ones with source link.
jeromelaban commentedon Sep 7, 2022
Fixed in jbevain/cecil#684