Open jpluscplusm opened 8 months ago
This is sort of intentional. End users should not be using or relying on CUE_STATS_FILE
, at least not while we are heavily refactoring the evaluator which is bound to change the format and contents of the stats output.
Why are you interested in this environment variable and file?
Why are you interested in this environment variable and file?
Because I'm working on https://github.com/cue-lang/docs-and-content/issues/9!
I got as far as explaining some values the envvar can take (https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1176904/1/content/docs/howto/log-statistics-from-the-cue-evaluator/en.md), but I left a TODO in that doc because I don't know definitively what the stats actually mean!
However, that doc doesn't /need/ to explain them, IMHO, so I'm perfectly happy for this to be closed or parked :-)
Gotcha, that makes sense. I think it's fine to write a tutorial mentioning it today - we can start documenting it more properly, including its format, in cue help environment
once the new evaluator has stabilized a bit. We can leave this issue open as a reminder.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
No;
cue help environment
does not exist in 0.7.0.What did you do?
What did you expect to see?
A passing testscript, indicating that the envvar is explained to some degree.
What did you see instead?
A failing testscript.