Project: appceleratorstudio
Issue TISTUD-5444: Improve the performance of Build workspace job
The build workspace job is constantly invoking the external process to query the version of node and modules prefix path. The Studio log contains a series of references to the external processes during workspace build operation. !ENTRY com.aptana.core 1 0 2013-09-26 17:12:16.378 !MESSAGE (Build 0.0.0.qualifier) [INFO] com.aptana.core/debug/shell Running process: Process: "/usr/local/bin/node" "-v" Working directory: null Environment: null !ENTRY com.aptana.core 1 0 2013-09-26 17:12:16.417 !MESSAGE (Build 0.0.0.qualifier) [INFO] com.aptana.core/debug/shell Running process: Process: "/usr/local/bin/node" "/usr/local/bin/npm" "config" "get" "prefix" Working directory: null Environment: null Since the values of these parameters are unlikely to change, we should cache those values and reuse them for every inquiry.
Story points: 5