Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to get tool's output in a machine-readable format (json, csv)? #43

Open
nickaleks opened this issue Apr 17, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@nickaleks
Copy link

This tool was very helpful in optimizing build times. However I would to be able to analyze the output a little more thoroughly. For example, how much time out of total is taken by each header or translation unit. It would greatly help with cost-benefit analysis when attempting any kind of refactoring. To do that I need raw aggregated data of the build analysis. Is it possible to get it from the tool at the moment. If not how hard would it be to add and where to look to do that?

@aras-p
Copy link
Owner

aras-p commented Apr 17, 2020

Today there's no output like that indeed. Should not be terribly hard to add, basically you'd need to look at each place where fprintf is done in src/Analysis.cpp, and instead of printing for a human, emit the info in JSON format or somesuch.

@aras-p aras-p added the enhancement New feature or request label Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants