|
There could be something in those functions that is taking too much of a time. For example, some cut or some grep or an invocation of some external tools. Also the script, call_another_script could be the culprit.
Unless you can show what those functions are, it is hard to pinpoint the exact cause.
|