branchsubmit.vbs Running Branchsubmit on Windows ------------------------------- branchsubmit.vbs has been designed to run within the Windows Command shell. Since branchsubmit.vbs allows the use of optional command-line arguments it is important to run branchsubmit.vbs in conjunction with the cscript version of the Windows Script Host (WSH). As with branchsubmit.sh, it is important to edit the branchsubmit.vbs and modify the setup variables to match your environment. Read branchsubmit.txt for specific information related to these variables. Once your script has been edited and the checkpoint reference data is in place proceed with the following. 1) Open a Windows Command shell. 2) cd to the directory containing the branchsubmit.vbs script. 3) Run: c:\> cscript branchsubmit.vbs 4) branchsubmit.vbs will automatically perform the test run and echo the results to STDOUT. Extending Branchsubmit Test Run ------------------------------- The BRANCHCMDS variable defines the integrate commands that will be executed to open the files for branch. This is typically a single integrate command, but can be multiple integrate commands to observe the performance behavior of submitting a larger number of files. For example, using the reference01 metadata, the default BRANCHCMDS definition will submit 70,000 files during each "runme" phase: BRANCHCMDS = array( "integrate -v //depot/main/0... //depot/r36.0.0/0...") Using the reference01 metadata, the following BRANCHCMDS definition will submit 210,000 files during each "runme" phase: BRANCHCMDS = array( "integrate -v //depot/main/0... //depot/r36.0.0/0...", _ "integrate -v //depot/main/1... //depot/r36.0.0/1...", _ "integrate -v //depot/main/2... //depot/r36.0.0/2...") (Note that each integrate command is nested within double quotes and separated by a comma. The underscore (_) is used as a line continuation character in vbscript.)