我正在使用dotTrace执行代码分析,并且我希望能够从代码分析中排除特定的方法-即那些调用外部服务并且其性能不受我控制的方法。有没有办法做到这一点?我试图使用dotTrace子系统来过滤我的结果,但是我不能在分析结果中“隐藏”这些方法调用。提前感谢
发布于 2018-06-07 20:37:21
要从调用树中排除某些方法,只需按Del或Shift+Del即可。有关采样/跟踪/逐行的信息,请参阅https://www.jetbrains.com/help/profiler/Studying_Profiling_Results__Performance_Forecasting.html;有关时间线评测模式的信息,请参阅https://www.jetbrains.com/help/profiler/Forecasting_Performance_Timeline.html。
如果使用逐行分析模式,则只能使用过滤器分析特定的方法:https://www.jetbrains.com/help/profiler/Profiler_Options.html#filters
https://stackoverflow.com/questions/50704347
复制相似问题