Commit graph

6 commits

Author SHA1 Message Date
Andrew Stanton-Nurse
ef0ca39da1 Memory usage improvements in build (#2626)
* Use a WorkspaceContext in dotnet-build to cache project data across
multiple compilations in a single build action
* Dramatically reduce string and object duplication by introducing a
"Symbol Table" that shares instances of NuGetVersion, NuGetFramework,
VersionRange and string across multiple lock-file parses

Test Results:
* Testing was done by compiling Microsoft.AspNetCore.Mvc (and it's
dependencies) and taking memory snapshots after each compilation in
dotMemory
* We used to allocate ~3MB and deallocate ~2.5MB on EACH compilation in
a single build action. This has been reduced to ~120KB
allocated/deallocated
* After introducing WorkspaceContext, total memory usage spiked from 6MB
across the whole build action to about 13MB, introducing the symbol
table dropped it back to about 5-6MB.
2016-04-22 15:01:56 -07:00
Troy Dai
1b8d69abc1 Log the Socket error code 2016-03-21 15:18:28 -07:00
Troy Dai
d82c2f557a Temporary swallow SocketException in DthTest 2016-03-21 14:55:02 -07:00
Troy Dai
f7e4714dc5 Integrate ProjectModel server tests 2016-02-29 20:40:04 -08:00
Troy Dai
b9f2d8fe3d Fix projectmodel-server regression
1. Address the null reference exception when a project dependency is
broken.
2. Address the duplicate key issues after the logic of redirecting
System pacage to reference assembly was added

Update projectmodel-server and tests

1. Fix test timeout caused by undisconnected socket;
2. Update project model server
2016-02-02 22:26:16 -08:00
piotrp
63d79b06b4 projectmodelserver 2016-01-28 10:53:31 -08:00
Renamed from test/Microsoft.DotNet.ProjectModel.Server.Tests/DthTestClient.cs (Browse further)