You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c772385
Browse filesBrowse the repository at this point in the historyBrowse files
perf(producer): share the video box measuring across a chunk's capture workers (#9127)
* perf(producer): share the video box measuring across a chunk's capture workers
A chunk captured by several BeginFrame workers measured how large each
video is drawn by seeking one worker's page through every frame of the
chunk while the other workers waited. Each worker now measures its own
share of the frames on its own page, before the first-session check, and
the shares merge to the boxes one pass would have measured. A worker lost
before its share, or a chunk sent to screenshot capture, extracts at full
size. One log line reports the pass: workers, frames and duration.
Signed: Rames Jusso
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(producer): keep the measured boxes when the check sends a chunk to screenshot capture
The shares usually land before the first-session check has finished, so
settling the chunk at full size from the check only won when a share was
still out, and the extraction size on that path depended on timing. The
check no longer settles it: boxes that were measured are used, as before
this branch. Also pins that a video one share saw at full size stays out
of the merged boxes.
Signed: Rames Jusso
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(producer): the fake page in the local box test returns what the page now returns
Signed: Rames Jusso
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
0 commit comments