TFPROF(1)
π TFPROF(1) π
okay bestie, welcome to the General Commands Manual section, we're talking about tfprof and honestly? she's iconic.
β¨ NAME β¨
tfprof β profile a Taskflow program π«Ά
β¨ SYNOPSIS β¨
tfprof [options]
β¨ DESCRIPTION β¨
so tfprof is literally the program that visualises and profiles programs you compiled with Taskflow. no cap.
the way you do it is: compile your program with cmake using the option -D TF_BUILD_PROFILER=ON, then run it with an environment variable that says where the profile data output file should go. for example, from inside the build directory:
$ cmake ../ -D TF_BUILD_PROFILER=ON
$ make
$ TF_ENABLE_PROFILER=my_taskflow.tfp ./my_taskflow
then you run the profiler to visualise the output, like:
$ tfprof --input my_taskflow.tfp
and the results can be seen at http://localhost:8080/ β¨ main character URL honestly.
β¨ OPTIONS β¨
-h,--helpβ show summary of options. the little "hey what does this do" moment π-i,--inputβ the profiling data file. this option is required, so don't be skipping it fr fr.-m,--mountβ the location of the static Taskflow profiler server files. in the Debian version oftfprof, this is optional; it defaults to/usr/share/taskflow. she has a default, she's low maintenance π-p,--portβ the port the server should listen on; this defaults to8080. π¦
β¨ SEE ALSO β¨
the Taskflow system is documented fully in the documentation, available in the taskflow-doc package on Debian systems, or online at https://taskflow.github.io/taskflow/index.html π
okay that's the whole page, go profile something and slay π
mwah π that was the TFPROF(1) page, dated February 22 2024 β general commands manual energy, periodt. πβ¨
π¦ where this page comes from
- debian trixie: taskflow-profiler 3.9.0+ds-1+b1 Β· MIT
- ubuntu noble: taskflow-profiler 3.6.0+ds-6 Β· MIT
- ubuntu questing: taskflow-profiler 3.9.0+ds-1build1
- ubuntu resolute: taskflow-profiler 3.9.0+ds-1ubuntu3 Β· MIT
- ubuntu stonking: taskflow-profiler 3.9.0+ds-2 Β· MIT
- Copyright 2024 Julian Gilbey <jdg@debian.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms