I'm trying to improve the performances of my web server and would like to get an accurate measure on how long it takes the user to load the page. The way I imagined this would be to simulate concurrent requests from users and track how page load times change as I fine-tune various settings to get optimal results.
I'd like to use the latest snapshot of Chromium with the --headless
switch to measure how long it would take the user to load the page, but since this is a relatively new feature and I'm not familar with all the possible switches, I'd appreciate if someone can share what they would run to get accurate results.
The only limitation I have is that I can't inject scripts or modify the response content in some other way that would be helpful for such a test.
This seems to be ok-ish. Taking a screenshot shows the page seems to be loaded and getting similar results between the first and subsequent requests, so I'm assuming caching is indeed disabled.
Notes
--disable-gpu
flag isn't necessary, but there is a reported error with the current build