[w3c/clipboard-apis] Async Clipboard API take more time compared to DataTransfer API to read/write data in System Clipboard (Issue #190)

We observed that the async clipboard api (navigator.clipboard.read or navigator.clipboard.write) take more time to read/write data in system clipboard.

I have created the below sample app in glitch.

Code link: https://glitch.com/edit/#!/capable-lacy-shroud
Live site: https://capable-lacy-shroud.glitch.me

As you can see with DataTransfer API it takes ~1 ms to copy and ~30 ms to paste. But it takes ~650 ms to copy and ~300 ms to paste when we use Async Clipboard API.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/190
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/issues/190@github.com>

Received on Tuesday, 22 August 2023 11:11:51 UTC