Skip to content
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

Simplify the timeline, to remove the prefix of each event. #28723

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

Xreki
Copy link
Contributor

@Xreki Xreki commented Nov 18, 2020

PR types

Others

PR changes

Others

Describe

简化timeline每个event的名字。自从加入ParallelExecutor::Run计时后,timeline的每个event名字也会出现ParallelExecutor::Run/前缀,当timeline缩放的较小时,缩略图无法看到是哪个op。因此在timeline.py里面处理下,生成timeline文件时删除每个event名字的ParallelExecutor::Run/前缀。

  • 修改之前,timeline图如下:
    image

  • 修改之后,timeline图如下:
    image

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@wangchaochaohu wangchaochaohu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Xreki Xreki merged commit 19226ba into PaddlePaddle:develop Nov 18, 2020
@Xreki Xreki deleted the profiler/simplify_timeline branch November 18, 2020 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants