-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change --times console reporting to be based on Activity #14470
Conversation
…into fsc-timing-to-file
Output looks very verbose. Do you think we can introduce multiple verbosity levels? |
Can a before and after example be added to this PR? |
The output has more data, but has changed from repeating attributes to be tabular - a lot more its in. In the end, it takes less space then before thanks to it (the header is there just once on top, instead of the header being repeated with every line).
Example after added as comment here. |
Yeah, I see now, looks good
Number of threads looks weird - the same across compilation, stackguard would've produced much more. Unless all of them finish work when measurements happen. Also, GC generations are not reported here, right? Since it's zeroes. |
The threads are taken from processInfo. |
This was compiling some small project where no garbage collection happened. |
But the number represents number of GC collections that happened, not number of objects. |
Got it. The awkward part is mostly that the number is the same on the start of the process and somewhere during the optimization. |
Do you think it makes sense to make it more markdown-friendly (basically just have some more vertiacl separators), so it's easier to post to github as is?
|
… runs in the same process This is especially needed for: - Test suites - Hosted scenarios
Example output after markdown-inification, but still keeping it human readable in plain text form:
|
(btw. great idea, pasting output to GH is a common thing to do 👍 ) |
With the introduction of general telemetry collecting (System.Diagnostics.Activity) in FCS and
the ability to write out collected statistics to .csv files, console reporting remained hand-coded.
This PR:
(the API and cmd flags remain stable, but the console output does change).
Example output from our CI run: