-
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 |
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 |
1ca8cd7 to
2e66add
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/da3356cdd78f9b9/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/876082b3a840ee1/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/da3356cdd78f9b9/output.txt Total script time: 0.27 mins |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/876082b3a840ee1/output.txt Total script time: 0.53 mins |
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.
2e66add to
7d45a95
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/5004945c9535e5c/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/1041834911e3075/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/5004945c9535e5c/output.txt Total script time: 15.33 mins
Image differences available at: http://54.241.84.105:8877/5004945c9535e5c/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/1041834911e3075/output.txt Total script time: 19.88 mins
Image differences available at: http://54.193.163.58:8877/1041834911e3075/reftest-analyzer.html#web=eq.log |
7d45a95 to
fc12a70
Compare
fc12a70 to
0cbebd6
Compare
5cfe983 to
f3b3665
Compare
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.