Hi All,
The ‘–profile’ flag on gradle is great. I’ve been using the data it outputs to programmatically validate that new patches don’t negatively impact our build times.
To get this working I find myself munging the HTML profile output from multiple invocations into JSON and then concatenating those results into a big JSON data file. At that point I can query the data file with Drill or whatever other no-sql tools I find useful to determine statistically relevant changes to my KPIs.
It would be really nice to have gradle just output the profile data as JSON directly so that I don’t have to munge the HTML output to get there.
I’ve submitted a pull request to add this functionality. I think it would be great to see this feature included in the next release:
Please let me know if you have questions, critiques, or comments.