I have a tool that is trying to read Task invocation data out of a binary log. The data I need is fairly straight forward:
Identify type of task being invoked
A few string properties on the task invocation
Today I'm accomplishing this via:
var build = BinaryLog.ReadBuild(stream);
BuildAnalyzer.AnalyzeBuild(build);
build.VisitAllChildren(...)
The AnalyzeBuild takes a bit of time to complete, particularly for large logs. It does a lot of work I don't actually need. I was wondering if there is an API I'm potentially missnig where I can iterate through the tasks faster given I need, what I think, is minimal data off of them.
I have a tool that is trying to read
Task
invocation data out of a binary log. The data I need is fairly straight forward:Today I'm accomplishing this via:
The
AnalyzeBuild
takes a bit of time to complete, particularly for large logs. It does a lot of work I don't actually need. I was wondering if there is an API I'm potentially missnig where I can iterate through the tasks faster given I need, what I think, is minimal data off of them.