Synthetics allow us to collect not only the time it takes to download specific files/objects, but also the time it takes for Javascript to execute.
Function Tracing is that ability to see into how long individual Javascript files take to execute. This can be viewed on an individual page level, or via the aggregate waterfall to see multiple page hits combined.
See also: Is function tracing available in RUM?