accumulate: prep notes for accumulating test results #264
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.
I made a bunch of notes of things to change when switching to
accumulating test results. Currently we store every test object
and every result generated by every test. This is inefficient
for calculating summary info at the end of the test run and is
unnecessary as we don't need to store all of this data. Plus
the overhead on large test suites is significant.
In this overall effort, I plan on switching to not storing every
test. Instead, tests will be shifted off as they are run and
only result data needed for presentation will be accumulated.
This should save memory not storing as many objects and should
make rendering summary presentation data more efficient.
@jcredding I'm kicking off this feature/rework and I wanted to make a bunch of notes and then follow up with efforts that handle each note. FYI.