[ 
https://issues.apache.org/jira/browse/FLINK-23820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409833#comment-17409833
 ] 

JING ZHANG edited comment on FLINK-23820 at 9/4/21, 5:48 AM:
-------------------------------------------------------------

Results are expected.

*Environment*

Mac, python 3.8.11, master branch (last 
commit:2984d87ed7761a6ca345b8b79bcb6dd49db0442b)

 

*Coding*

!image-2021-09-04-13-38-53-247.png|width=1472,height=909!

*Profile result*

After setting "python.profile.enabled" to true, there are profile result like 
the following picture.

*!image-2021-09-04-13-37-49-740.png|width=2638,height=1289!*

 


was (Author: qingru zhang):
Results are expected.

*Environment*

Mac, python 3.8.11, master branch (last 
commit:2984d87ed7761a6ca345b8b79bcb6dd49db0442b)

 

*Coding*

!image-2021-09-04-13-38-53-247.png|width=1472,height=909!

*LOGGING*

After setting "python.profile.enabled" to true, there are profile informations 
like the following picture in the log.

*!image-2021-09-04-13-37-49-740.png|width=2638,height=1289!*

 

> Test profiling for Python user-defined functions
> ------------------------------------------------
>
>                 Key: FLINK-23820
>                 URL: https://issues.apache.org/jira/browse/FLINK-23820
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Python
>            Reporter: Huang Xingbo
>            Assignee: JING ZHANG
>            Priority: Blocker
>              Labels: release-testing
>             Fix For: 1.14.0
>
>         Attachments: image-2021-09-04-13-37-49-740.png, 
> image-2021-09-04-13-38-53-247.png
>
>
> The newly introduced profiling feature allows users to profiling their python 
> user-defined functions.
> In order to test this new feature I recommend to follow the documentation[1]
> [1] 
> https://ci.apache.org/projects/flink/flink-docs-master/docs/dev/python/debugging/#profiling-python-udfs



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to