feat: import from/export results to ZON files#85
Open
WillLillis wants to merge 1 commit intoandrewrk:mainfrom
Open
feat: import from/export results to ZON files#85WillLillis wants to merge 1 commit intoandrewrk:mainfrom
WillLillis wants to merge 1 commit intoandrewrk:mainfrom
Conversation
Author
|
It looks like CI is failing because it's using 0.16.0-dev.2694+74f361a5c. I'm assuming updating to zig 16 should wait until that's released, so I'll leave this until that happens. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR is intended as an alternative to #67, using ZON rather than JSON. In addition to exporting results, this also allows
poopto import previously exported results files.To be concrete, the motivating use case for this change is that while trying to optimize a project, I find myself making many small changes and comparing that to some known baseline. Having to re-compute the baseline every time I want to test a change wastes time, as we're recomputing essentially the same data. Instead, the baseline can be computed once and re-used as a comparison multiple times. This also allows users to re-display results from previous runs by only providing a
-iarg.Sample usage:
I built and tested this locally with zig 0.15.2.
Thanks for making such a great tool! It has been invaluable to me.