Skip to content

RAR is logging all inputs twice under /bl #4956

Closed

Description

@KirillOsenkov

When /bl is used (== MSBUILDLOGTASKINPUTS is set) RAR logs its full set of inputs twice (once by the general mechanism to log task inputs and once by its own custom detailed input logger).

image

We should detect this situation and only log all inputs once (decide whether to just keep the automatic logging or turn off automatic logging in favor of better manual logging). It's important to ensure that whatever we keep it should be a full superset of whatever we delete.

I expect this this should significantly help with both build performance and binlog sizes. RAR inputs are by far the biggest contributor to binlog size.

Activity

  1. added
    Area: Debuggability
    on Dec 5, 2019
  2. rainersigwald commented on Dec 5, 2019

    @rainersigwald
    Member

    The last time I looked at this, neither was a superset of the other, but I would tend to lean toward dropping the custom in-RAR logging when MSBUILDLOGTASKINPUTS will allow us to reconstruct the actual inputs to the task. That feels cleaner than special-casing the general mechanism to know about RAR.

    RAR inputs are by far the biggest contributor to binlog size.

    I wish. C++ projects are much, much worse.

  3. KirillOsenkov commented on Dec 5, 2019

    @KirillOsenkov
    MemberAuthor

    Luckily I mostly look at binlogs without any C++ in them :)

    We could come up with a hybrid and drop the custom-in-RAR logging where it is redundant, but keep the useful pieces.

  4. added this to the Backlog milestone on Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: DebuggabilityArea: Task: Resolve Assembly References (RAR)triaged

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions