studio
2023.4
false
UiPath logo, featuring letters U and I in white

Studio 用户指南

上次更新日期 2024年12月17日

配置文件执行

概述

Profile Execution helps you spot performance bottlenecks during workflow executions rather than tracking the overall execution time. As you run or debug a workflow, it provides an analysis of each operation's performance, reflecting a cumulative percentage of every activity's execution time.

工作方式

Profile execution involves execution duration, which is the time from the start of a workflow's first activity to the end of the last activity. For example, if your file contains a top level Sequence, it displays the total time taken for all the Sequence's activities to run.

When no workflow file is selected, the total duration displayed is the cumulative sum of all top-level durations, excluding Invoke Workflow activities.

Suppose you execute several test cases or regular workflow files that invoke the same file. The total duration might not match the actual execution time. However, the tool groups together the execution times from multiple runs of the invoked file. This grouping helps you spot occasional performance issues and generates run statistics. The primary purpose of profile execution is to identify activities that create delays in workflow execution.



注意事项

  • 调试期间生成的分析数据可能与在生产(运行文件)期间生成的数据不同。
  • 每个会话的数据都存储在 C:\Users\username\AppData\Local\UiPath\ProfiledRuns 中(请参阅导入以前的分析会话)。

分析剖析结果

要对执行进行分析,请运行文件或调试文件,然后转到“调试”功能区选项卡。

确保您的自动化正常运行,且工作流不会运行缓慢。如果您发现潜在的流程问题,可以检查需要更长时间才能完成的工作流。使用用于进行分析的上下文菜单来执行操作。

“分析”选项卡底部的“执行详情”显示执行次数和描述性统计信息,例如平均持续时间以及最短持续时间和最长持续时间值。



导入分析会话

您可以导入分析会话,以检查以前的运行。将对导入的分析会话禁用焦点。

用于分析的上下文菜单

操作

描述

打开

右键单击“分析”选项卡中的父文件,然后选择“打开”,以跳转到所选工作流。

焦点

右键单击一个活动,然后选择“焦点”,以使“设计器”面板视图以所选活动为中心。

搜索

使用搜索功能查找特定活动。

全部展开/全部折叠

使用“全部展开”和“全部折叠”可查看或折叠所有活动。

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。