|
Thrill
0.1
|
Thrill contains a built-in logging mechanism beyond the usual stdout output. This must be activated by supplying the environment variable THRILL_LOG=abc. Thrill writes rather extensive logs to abc-host0.json in a JSON format.
The source archive contains a program to read this raw JSON log (which can be used in future for other purposes) and output a HTML execution profile.
For example, try to run:
And open exec-profile.html using a web browser to see an execution profile and more important statistics.
It is also possible to create a .dot file of the data-flow graph from the THRILL_LOG output using a small python program. The resulting .dot file can then be layouted using graph drawing tools such as GraphViz (dot, fdp, etc). Try to run the following for the previous page rank example:
The following graph is an example generated by running the DC7 suffix sorter (with one level of recursion):