Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1000 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 1000 Bytes

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.