timing information added in debugprint

Sorry, what do you mean by "this"?
Do you mean "tot_time_percent = "(profile.fct_call_time / max(tot_time_dict.values())) * 100"