Skip to content

BinLog Perf

Kirill Osenkov edited this page May 1, 2020 · 32 revisions

See related: Binlog Stats

Investigate Log Task Inputs performance https://github.com/microsoft/msbuild/issues/2200

Need to be able to control LogTaskInputs independently of Verbosity or /bl https://github.com/microsoft/msbuild/issues/5233

Binary logger should respect verbosity https://github.com/microsoft/msbuild/issues/4543

Very high memory consumption during build (4GB) with binary log enabled https://github.com/microsoft/msbuild/issues/2168

Binlog causes detailed summary messages output to console https://github.com/microsoft/msbuild/issues/4409

Text log format doesn't distinguish between item metadata and new items https://github.com/microsoft/msbuild/issues/3966

Set MSBUILDTRUNCATETASKINPUTS environment variable to 1 to truncate task inputs: https://github.com/microsoft/msbuild/pull/5210/files#diff-5f4088c7b8512fa52f7faf88f89661f3R122

==========

Roslyn build (no binlog): 10:07.453
Roslyn build (-binaryLog): 10:01.515
Roslyn build (-binaryLog, with https://github.com/microsoft/msbuild/pull/5268): 09:44.085

==========

old:
1:38
1:29
1:29
1:24

old no binlog:
1:00

new:
1:25
1:30
1:20
1:21

new no binlog:
1:07
1:03

==========