-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/stats: start reporting which CUE evaluator version was used
Currently, when we select an evaluator version via CUE_EXPERIMENT or via the Go API, it can be hard to really tell whether that version is actually being used as part of evaluation. It may not be due to bugs, for example, or because the way we are trying to select the version doesn't actually work as intended, such as CUE_EXPERIMENT not affecting the Go API until https://cuelang.org/cl/1202685. As agreed with Marcel, a nice way for the evaluator to report the version it used is the same way it already knows how to report other information back to the user about the evaluation: CUE_STATS_FILE. Note that it's currently not possible to collect these stats via the exposed Go API, and that is a separate problem that we need to tackle. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I6c868b44dde88ca491570c526d1e2f2f0503f1d1 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202746 Reviewed-by: Marcel van Lohuizen <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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