How to Accelerate Your Test Automation Execution speed 3-4 times with only one setting
Precondition:
You use WinXP (other windows version may also works, but I have not tried it)
you mainly use your PC to execute test automation case but not to use it as ftp client to transfer large files
You test automation case need to frequent interaction with your DUT(Device Under Test), that is a common behavior of TA case
You are tired of waiting for long TA case execution time and want to speed it up.
then you can do following modification to accelerate your case execution.
In my scenario, the test automation case execution speed have been speed up about 3-4 times.
[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Tcpip \Parameters \Interfaces \{Adapter-id}]
TcpAckFrequency = 2 (Default=2, 1=Disables delayed ACK, 2-n = If n outstanding ACKs before timed interval, sent ACK)
1.add "TcpAckFrequency" with DWORD, set value to 1.
2.And reboot your OS
Just enjoy "The Need for Speed"!!!
If you want to know deeply why this setting works, you can refer following articles:

浙公网安备 33010602011771号