Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Performance problem when trying to run RTC CI builds

 I have setup a RTC continuous integration build, but performance is bad.  It takes more than 10 minutes for the buidl to determine if it should build or not.  I am using the Jazz SCM CLI compare function to determine if there are any changes to the workspace.  How can I make the CI builds run quicker?

0 votes


Accepted answer

Permanent link
 The SCM compare function is a very expensive query.  It will check every element in the workspace against every element in the stream looking for changes, and for large workspaces/streams that comparison can take a very long time.  Rather than compare, consider using the accept command with the build sandbox workspace, if anything is accepted into the workspace then run the build.  The accept is a much cheaper command and will accomplish the same task of running the build only when changes occur to the build workspace.
Spencer Murata selected this answer as the correct answer

0 votes

Comments

Are you sure that SCM compare checks every element in the two configurations being compared?   My understanding is that the compare operation will scan back along the change history of the two configurations being compared, until it finds a common ancestor, and then bases the compare result on the number of change-sets found.   If that is right, then if you have two configurations with millions of elements, but which only differ by one change set, then the compare operation just looks at that one change set.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 562
× 15

Question asked: Nov 16 '12, 3:10 p.m.

Question was seen: 5,271 times

Last updated: Nov 17 '12, 12:59 a.m.

Confirmation Cancel Confirm