-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Offload rendering to a worker #20053
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
base: master
Are you sure you want to change the base?
Conversation
d44e924 to
525db91
Compare
23cfb34 to
12d033c
Compare
1a58fe0 to
f7a5984
Compare
|
/botio browsertest |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @nicolo-ribaudo received. Current queue size: 0 Live output at: http://54.193.163.58:8877/7bdfc7c43588c35/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @nicolo-ribaudo received. Current queue size: 0 Live output at: http://54.241.84.105:8877/6d80fccccf139e9/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/6d80fccccf139e9/output.txt Total script time: 3.14 mins
Image differences available at: http://54.241.84.105:8877/6d80fccccf139e9/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/7bdfc7c43588c35/output.txt Total script time: 4.49 mins
Image differences available at: http://54.193.163.58:8877/7bdfc7c43588c35/reftest-analyzer.html#web=eq.log |
Move the work of drawing the PDF onto the cavas to a worker thread using OffscreenCanvas. This should free up the main thread a bit by moving all of the CanvasGraphics operations to this "renderer" worker.
f7a5984 to
1ca8cd7
Compare
|
/botio browsertest |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @nicolo-ribaudo received. Current queue size: 0 Live output at: http://54.241.84.105:8877/26b7c970c7c62ad/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @nicolo-ribaudo received. Current queue size: 0 Live output at: http://54.193.163.58:8877/efc007bdccfc069/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/26b7c970c7c62ad/output.txt Total script time: 6.79 mins
Image differences available at: http://54.241.84.105:8877/26b7c970c7c62ad/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/efc007bdccfc069/output.txt Total script time: 7.54 mins
Image differences available at: http://54.193.163.58:8877/efc007bdccfc069/reftest-analyzer.html#web=eq.log |
This change works on top of #20016 to move
CanvasGraphicsoperations to a new/different worker thread, thus offloading the heavy page renders and freeing up the main thread.