-
-
Notifications
You must be signed in to change notification settings - Fork 372
fix: adverse frame timestamps #2226
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
Conversation
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 4a0c282 | 1228.60 ms | 1250.74 ms | 22.14 ms |
| 0fdf0b2 | 1266.27 ms | 1277.90 ms | 11.63 ms |
| e958899 | 1233.02 ms | 1261.86 ms | 28.84 ms |
| 172c95a | 1220.08 ms | 1251.74 ms | 31.66 ms |
| 4c1fab4 | 1222.96 ms | 1251.00 ms | 28.04 ms |
| 0fdf0b2 | 1194.37 ms | 1227.90 ms | 33.53 ms |
| 864c39a | 1239.45 ms | 1256.76 ms | 17.31 ms |
| c929040 | 1254.84 ms | 1278.42 ms | 23.58 ms |
| 9fc2dd0 | 1246.14 ms | 1275.00 ms | 28.86 ms |
| a5ca27b | 1231.31 ms | 1252.56 ms | 21.25 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 4a0c282 | 20.51 KiB | 333.10 KiB | 312.60 KiB |
| 0fdf0b2 | 20.51 KiB | 332.90 KiB | 312.39 KiB |
| e958899 | 20.51 KiB | 331.92 KiB | 311.41 KiB |
| 172c95a | 20.51 KiB | 335.57 KiB | 315.06 KiB |
| 4c1fab4 | 20.51 KiB | 331.79 KiB | 311.28 KiB |
| 0fdf0b2 | 20.51 KiB | 332.90 KiB | 312.39 KiB |
| 864c39a | 20.51 KiB | 335.57 KiB | 315.06 KiB |
| c929040 | 20.51 KiB | 333.10 KiB | 312.59 KiB |
| 9fc2dd0 | 20.50 KiB | 331.79 KiB | 311.28 KiB |
| a5ca27b | 20.51 KiB | 331.81 KiB | 311.31 KiB |
Previous results on branch: armcknight/fix-adverse-frame-timestamps
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| c531074 | 1236.12 ms | 1268.82 ms | 32.70 ms |
| e2ea18c | 1242.02 ms | 1246.00 ms | 3.98 ms |
| 37076bb | 1239.20 ms | 1266.59 ms | 27.39 ms |
| 34356a8 | 1241.88 ms | 1263.96 ms | 22.08 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| c531074 | 20.51 KiB | 333.15 KiB | 312.65 KiB |
| e2ea18c | 20.51 KiB | 333.15 KiB | 312.65 KiB |
| 37076bb | 20.51 KiB | 331.74 KiB | 311.23 KiB |
| 34356a8 | 20.51 KiB | 333.16 KiB | 312.65 KiB |
brustolin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
philipphofmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A test is missing and a changelog entry.
rename to 'nextFrameTimestamp' instead
issue here is that there is no tracer to have profiling enabled, which we check for before committing the timestamps to bookkeeping; need to mock either the tracer or the frames tracker to override the check for the tests
and also for frame rate tiemstamps
…s made before recording a frame rate, and dont record insignifant rate chantes; always record everythin when testing instead of checking if profiling is enabled
55e0adc to
056c37b
Compare
f9c84d4 to
e2de31e
Compare
|
@philipphofmann check out the new tests here. |
|
The vlc integration test failure looks to be unrelated to these changes. |
Fixed here #2251 by @kevinrenskers. |
philipphofmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Noticed that our profiling timestamps for slow/frozen frames all had the same value for start/end. The same code that should've executed after recording the timestamp was also before it, looks like a rebase gone wrong or something.
I also renamed a variable because the synonyms "last" and "previous" did not help to distinguish them.