Closed vzarytovskii closed 4 months ago
[!WARNING] Author opted out of release notes, check is disabled for this pull request. cc @dotnet/fsharp-team-msft
Also a note - we spend quite some time generating PDB in all scenarios, even though it will never be used. Around 1/3rd of total assembly generation time, for example on my M2 it takes 50ms to generate metadata and additional 24ms to generate pdb.
Also a note - we spend quite some time generating PDB in all scenarios, even though it will never be used. Around 1/3rd of total assembly generation time, for example on my M2 it takes 50ms to generate metadata and additional 24ms to generate pdb.
Should we create an issue about it to keep track?
Also a note - we spend quite some time generating PDB in all scenarios, even though it will never be used. Around 1/3rd of total assembly generation time, for example on my M2 it takes 50ms to generate metadata and additional 24ms to generate pdb.
Should we create an issue about it to keep track?
I did already. Not sure why it didn't link it here.
Nvm, it did: https://github.com/dotnet/fsharp/issues/17152
Description
This fixes primary assembly check by:
Compare <> 0 || ...
now its justEquals ||
, which will exit on the first match, as opposed to checking everything.It also gets rid of specific cache for int32 in the ilreader, as well as hides stats under define.
FSI startup is a bit faster on M2, should be more noticeable on older/slower machines:
Before:
After:
Before: dotnet_trace_before.speedscope.json After: dotnet_trace_after.speedscope.json