如果将此字段值设置得过低,它会限制CPU的使用,从而降低吞吐量,进而影响性能(即增加处理应用程序请求的等待时间)。
If set to too low, this field reduces the throughput by throttling the CPU usage, in turn affecting performance (that is, increasing wait time of an application's request to be served).
吞吐量问题通常是由处理请求期间因为争用资源(CPU、内存、硬盘、线程池、连接池等)而导致的等待时间增加所引起的。
Throughput issues are generally caused by increased wait time during request processing due to contention of resources (CPU, memory, disk, thread pool, connection pool, etc.).
在清单3中,我将click设置为10秒的等待时间——足够表单提交请求完成处理。
In Listing 3, I make Selenium wait 10 seconds — long enough to allow the form-submit request to finish processing.
应用推荐