Computes the time it takes to generate the dependency tree for a file