-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supporting workspaces on giant binlogs (#172)
The old method of converting a binlog to a Workspace was by first converting to a compiler log. That process is fine for small / medium logs but for gigantic logs that can be quite expensive. Was attempting this on a binlog that had 1,700+ compilations inside it and the process quickly OOM'd. This PR addresses the problem by loading Workspace directly from a binlog. This moves more methods into ICompilerCallReader and makes that the basis for SolutionReader. This was a pretty substantial refactoring of the code base as it required sharing a lot more concepts between the two readers.
- Loading branch information
Showing
30 changed files
with
883 additions
and
527 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Basic.CompilerLog.Util; | ||
|
||
public sealed class AssemblyIdentityData(Guid mvid, string? assemblyName, string? assemblyInformationalVersion) | ||
{ | ||
public Guid Mvid { get; } = mvid; | ||
public string? AssemblyName { get; } = assemblyName; | ||
public string? AssemblyInformationalVersion { get; } = assemblyInformationalVersion; | ||
} |
Oops, something went wrong.