You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really nifty plugin. Especially for other plugin developers. I know this is in early development but I gave it a try and I really like it. I have some Ideas for improvements.
File destination setting: It would be great if you could set the destination path for the output files in the plugin settings. When running the plugin as a service (i.e OctoPi) the plugin will throw a permission error since it can't write to whatever the default destination folder is.
Module/Function filtering. You can use filter_callback on get_func_stats API to filter on functions, modules or whatever available in YFuncStat object. A setting to enable filtering and a filter string would reduce the noise. A drop-down that enumerates plugins and/or plugin methods would be a big plus.
Display text output in tab: You could add a tab view to the plugin and display the output of yappi.get_func_stats().print_all() there. The tab could even include start/stop buttons to profile OP between prints.
A pretty cool way of displaying the profiling result to the user is to transform the pstats output into a png using gprof2dot -f pstats test.pstats | dot -Tpng -o output.png. I guess that could be a way to analyse the results for those who don't have access other methods.
The text was updated successfully, but these errors were encountered:
This is a really nifty plugin. Especially for other plugin developers. I know this is in early development but I gave it a try and I really like it. I have some Ideas for improvements.
File destination setting: It would be great if you could set the destination path for the output files in the plugin settings. When running the plugin as a service (i.e OctoPi) the plugin will throw a permission error since it can't write to whatever the default destination folder is.
Module/Function filtering. You can use filter_callback on get_func_stats API to filter on functions, modules or whatever available in YFuncStat object. A setting to enable filtering and a filter string would reduce the noise. A drop-down that enumerates plugins and/or plugin methods would be a big plus.
Display text output in tab: You could add a tab view to the plugin and display the output of yappi.get_func_stats().print_all() there. The tab could even include start/stop buttons to profile OP between prints.
A pretty cool way of displaying the profiling result to the user is to transform the pstats output into a png using
gprof2dot -f pstats test.pstats | dot -Tpng -o output.png
. I guess that could be a way to analyse the results for those who don't have access other methods.The text was updated successfully, but these errors were encountered: