-
Notifications
You must be signed in to change notification settings - Fork 11
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
Gc subcommand #10
Gc subcommand #10
Conversation
Tracks the sum total of major GC and minor GC time
Results on single-domain programs:
|
Thanks for the contribution. A few questions and comments:
|
Thanks a lot for the comments @kayceesrk!
You're right, I was wondering that myself - the results are from two different runs, I think that's perhaps the source of discrepancy. Will double check this.
Absolutely! I've merged the gc time with the latency command, and renamed it to
Sounds like a good idea. Will try to do this in a follow up PR. I've added a sequential version of binarytrees benchmark for testing. The dune rule for olly run itself is commented out for now as it's throwing a @sadiqj could you enable ocaml-ci for the repo please? |
The results look like:
|
Minor comment about formatting the output. Rather than
It may be useful to do:
|
Is the PR ready for review? :-) |
I wanted to test on multi-domain programs before marking the PR ready for review. I have done that, and I think it's ready for review. :) A couple of question regarding multi-domain programs:
|
Thanks for the update. Can you please take into account the conversation that we have had on a different channel? |
The latency calculation explicitly only tracks the topmost layers of the nested events. The relevant GC event for non-leader stw domains is
Thanks @kayceesrk, I've addressed the comments from our offline conversation. Also updated the |
Comparing constructors is faster. Also move the GC phase check outside Hashtable for performance
Thanks for the work! |
CHANGES: * Fix dependencies (tarides/runtime_events_tools#14, @Sudha247) * Improve JSON output produced by olly gc-stats (tarides/runtime_events_tools#13, @punchagan) * Mention Fuchsia format in the README (tarides/runtime_events_tools#11, @Sudha247) * Gc subcommand (tarides/runtime_events_tools#10, @Sudha247) * Add Fuchsia Trace Format output to olly (tarides/runtime_events_tools#6, @tomjridge) * Added --output option to redirect olly printing (tarides/runtime_events_tools#5, @ElectreAAS) * Added json printing option (tarides/runtime_events_tools#4, @ElectreAAS)
Tracks the sum total of major GC and minor GC time, partially addressing #8. I've tested it with single domain programs comparing the time reported here with the trace file. Leaving it as a draft as this needs more testing on multi-domain programs.