@kamrik is saying that you should cache at least:
require(path.join(bbUtilsPath, 'lib', 'target-utils'))

In a var somewhere. 

Specifically right after the var bbUtilsPath line: