Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-5444

Improve the performance of Build workspace job

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.0
    • Fix Version/s: 2013 Sprint 20, Release 3.2.0
    • Component/s: Build, Node
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                pinnamuri Praveen Innamuri (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: