-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual metrics pick up too early First Visual change sometimes on Samsung A51 #2224
Comments
Let me collect the original video and try to run it locally. |
1-original.mp4 |
Hi @gmierz I need your help here if you have time. I have an issue when running test on an Samsung A51. The problem is that depending on what thumb size I set, the first visual change differs. I run it like this: If I increase the thumb size to for example 600 (to have better quality), I get a first visual change that is 216. I wonder the best way we should handle it. My guess is that when we set the thumbsize higher, the URL bar come into play and affect the metric? Do you have any input? |
I hit a similar issue in a regression bug here: https://bugzilla.mozilla.org/show_bug.cgi?id=1929579#c5 It doesn't seem to be exactly the same thing as what is happening here though. To figure out where this issue is coming from, you could change the crop fields for the orange frame here: https://github.com/sitespeedio/browsertime/blob/main/visualmetrics/visualmetrics-portable.py#L440 You could add +50 to the I'm seeing a small grey bar at the bottom of the screen though which might be triggering this. You can check that by subtracting 100 from the viewport height to check that. Not sure where the grey bar is coming from though. |
Thank you @gmierz you got eagle eyes, I missed the grey in the bottom. If I removed 4 pixel from the height it works fine. Do you think it's ok if I change https://github.com/sitespeedio/browsertime/blob/main/visualmetrics/visualmetrics-portable.py#L625 that to remove 14 lines instead of 10? |
That sounds good to me - do you see this grey bar on other test pages as well? I don't see the grey bar in the pageload videos that we have for chrome 131. Here's an archive for one of those tests: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Dwd3NMsZStyfYGrhvjyPAg/runs/0/artifacts/public/test_info/browsertime-videos-original.tgz Here's a link which includes a few other tests: https://treeherder.mozilla.org/jobs?repo=mozilla-central&selectedTaskRun=Dwd3NMsZStyfYGrhvjyPAg.0&tier=1%2C2%2C3&searchStr=browsertime%2Candroid%2Ctp6%2Cchrome&revision=d01b815e2e1a7baed43f9b0a1e04e109109648bf Is it possible the dark mode vs light mode is causing the difference here? |
I just setting up and I don't other things to compare with but I think the grey bar is Chromes loading bar that at least on desktop was common. I'll check what it is before I merge the change.
Hm, I'll check. |
It's a grey line under the orange background and I think you are right that dark mode creates it. I'll push the change. |
Looking at the filmstrip:
And the actual video.
en.m.wikipedia.org_wiki_Barack_Obama-4-chrome-2024-12-18142810-video.mp4
My guess is that it picks up the change in the URL bar? I'm using Chrome 131 in the tests.
The text was updated successfully, but these errors were encountered: