Tools for debugging + profiling dispatch plans
kazimuth opened this issue · comments
It would be useful to be able to inspect the plans shred comes up with, e.g. what systems execute in parallel when, and so on. It would also be useful to be able to get information about the execution times of various systems after a dispatch. I could imagine writing a tool that hooks into shred and generates a graphviz .dot file that lets you debug systems causing bottlenecks, or an amethyst editor plugin that lets you watch the relative execution times of your various systems in real time.
I think I've got something for you :) struct.DispatcherBuilder.html#method.print_par_se
As for benchmarking, that's still missing. A 👍 from me for that.
Ah sorry, here's the complete link: https://docs.rs/shred/0.7.0/shred/struct.DispatcherBuilder.html#method.print_par_seq
You can also use the Debug
representation of the builder.