WebPagetest Forums
Speed Up Test - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Speed Up Test (/showthread.php?tid=15289)



Speed Up Test - cachila - 03-15-2018 06:25 AM

Hi, Im working on a solution where I need to get all images from a web page among other results.

I created an EC2 private instance and kept a single agent always alive. I also have a Lambda function in Node that runs the test, and an API Gateway to call this function.

The problem is that the test always takes longer than 20 seconds independently of the tested site and the API Gateway timeouts after 29 seconds, that means that if a poorly optimized site is tested, I always get timed out.

Is there any configuration when running the test that improves the performance?

This is the current configuration:
wpt.runTest(url, {
custom: customMetrics.join('\n'), *
video:false,
location: "us-east-1",
connectivity: "Native",
firstViewOnly: true,
runs: 1,
pollResults: 1,
disableHTTPHeaders:true,
disableOptimization:false,
htmlBody:false,
blockAds:true,
}
* customMetrics are really simple js calls.

Thanks

PS: Sorry for bad english


RE: Speed Up Test - cachila - 03-27-2018 11:33 PM

I guess Its not an easy trick. I thought there were some options like Keep browser open or something that could speed the test up.
Thanks anyway