Use transferables to send the ArrayBuffers to the worker.
Categories
(Firefox :: Translations, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: gregtatum, Assigned: gregtatum)
References
Details
Attachments
(1 file)
In the initial implementation I did simple message passing, but it's probably possible to use transferables to send them more efficiently.
https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects
This work shouldn't be done until Bug 1815339 is investigated, since I'm not sure if workers will be in the final implementation if we consolidate to 1 process.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
This should be reviewed or merged until Bug 1818603 lands, since it will conflict with it.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Backed out for causing failures at browser_full_page.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/824c14ab68396152de37a562f09df8ce71f924bf
Push where failures started: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=457474e589d4544345a1f55d4343a4b70ded1d1e&selectedTaskRun=Hrqjdo8ESFSvywMOFoyoyw.0
Failure log: https://treeherder.mozilla.org/logviewer?job_id=410034037&repo=autoland&lineNumber=11999
Comment 6•2 years ago
|
||
bugherder |
Description
•