|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
Performance issues when reading program output from Standard Output
Recently upgraded to VBP 8.0 and noticed significant build time increase.
Found out that when a step is configured to "Read program output from" Standard Output and there is a lot of output by the step then it takes much longer to run in v8 compared to v7. Also it is much slower to run the step in v7 then in console window outside of VBP. For example to execute a batch file that echos 1000 lines takes: 14 seconds in VBP7 1 minute 19 seconds (!!!) in VBP8 (similar in both 32 and 64 bit versions) 1 second in console window or in VBP7 and VBP8 with "Read program output from" set to None. Is there any configuration or workaround to improve the performance of reading of Standard Output? |
#2
|
|||
|
|||
At the top of the project, add a Run Script step with code like
Code:
Application.Options.RunProgramOutputWaitTimeout = 500 Note: The default for this setting was changed to 200 in v8.1. |
#3
|
|||
|
|||
I made the suggested change (set RunProgramOutputWaitTimeout to 50) and it made a huge difference. Now our build process is about 30% faster then before we upgraded to v8.
Thanks a lot for great and fast response. |
Tags |
performance , slow , standard output |
|
|