WebPageTest runs with 10 fps today. In some cases that means that a change in 100 ms is picked up by our alerts. Browsertime runs with 30 fps on desktop and 60 fps on mobile. We should try to do the same on WPT since the instance size is the same.
Description
Description
Event Timeline
Comment Actions
Looks like you only can set the fps for the video per agent (when you start the agent): https://github.com/WPO-Foundation/wptagent/blob/829a9f8111ae8bcf52c99ff574bcec3c924ebd9e/README.md#video-capturedisplay-settings
Comment Actions
I looked into the code and there is a hidden query fps parameter that you can use. There's two ways to do that:
- Add support to the WPT API (I can do a PR for that)
- Hack and set it to 30 fps per default (the same way we hacked setting Visual Elements on all runs.
I'll start with 2. so we can see the changes today.
Comment Actions
/var/www/webpagetest/www/runtest.php
$test['fps'] = isset($req_fps) ? (int)$req_fps : null;
I've changed so default is 30 instead of null as a hack. If it works good I'll make a PR for the API.
Comment Actions
We run 30 fps today, I think that is good enough. We can update the API later (we are still waiting on those security issues in the API :()