[Webkit-unassigned] [Bug 280601] ImageBitmaps transferring between threads is very slow in Safari
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 26 09:23:35 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=280601
--- Comment #7 from Andy <honyaapp at googlemail.com> ---
It looks like ImageBitmap stuff is generally slow in WebKit. Creating, transferring, etc.
Currently i'm trying to created ImageBitmap from webgl2 canvas:
createImageBitmap(this.outputCanvas!, 0, 0, widthOut, heightOut).then((ib) => {
this.imageBitmap = ib
frame?.checkpoint("createIB")
});
In windows chrome, MacOS chrome this operation takes 0.01ms.
In MacOS Safari, iOS Safari and iOS Chrome it takes from 15 to 65ms.
Seems like performance depends on complexity of wegl2 stuff, which is rendered prior IB creation.
Slowest performance is on iPad Pro M1.
The issue is very critical. Previously i thought i can use single threaded app on webkit based browsers. But single threaded app is also slow. fps is very low because of IB creation.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241026/831026bc/attachment.htm>
More information about the webkit-unassigned
mailing list