Skip to content

taskflow/tfprof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFProf

TFProf provides the visualization and tooling needed for profiling Taskflow programs

Profile Your Taskflow Program

All taskflow programs come with a lightweight profiling module to observe worker activities in every executor. To enable the profiler, set the environment variable TF_ENABLE_PROFILER to a file name in which the profiling result will be stored.

~$ TF_ENABLE_PROFILER=result.json ./path/to/my/taskflow/program arg1 arg2
~$ cat result.json
[ ... JSON data ]

Paste the content of result.json to the bottom JSON text area at the following page:

You may also open index.html from your browser to visualize tfprof data.

Learn More about TFProf

Please visit the page Profile Taskflow Programs.