runScript() is faster (less overhead) than a script transform.
runScript()
See this experiment I ran a year ago: