Store artifact sizes into the database #1348
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It would be really nice to track the size of generated artifacts (especially the size of binaries) over time. There are a lot of things that we could do in this direction, but probably the simplest one to begin with is to generate stats corresponding to the artifact sizes that are produced by the self profiler.
With this small change, we can start tracking artifact sizes for the currently existing benchmarks. This is just a small first step, of course, but it should already provide us with interesting data.
I used the
size:
prefix for the stats, to differentiate these values from the existing metrics. Maybe we could add some unified prefix to the compile time metrics? Later we can add yet another prefix for metrics gathered from compiled binaries.Related issue: #145