signing dataItem with ArConnect seems to take 200-300ms (sometimes even more - 500ms or even over a second!).
The same using the native sign in arbundles library takes 10-12ms...
Is there a chance for optimizing this? Do you know what might the reason for such a big difference? Unfortunatelly this is killing our app (where we need almost real-time processing)
Code for signing with ArConnect:
const now = Date.now();
const signedDataItem = await window.arweaveWallet.signDataItem(dataItem);
console.log(`Signing with ArConnect ${Date.now() - now}ms`);
signing dataItem with ArConnect seems to take 200-300ms (sometimes even more - 500ms or even over a second!). The same using the native sign in arbundles library takes 10-12ms...
Is there a chance for optimizing this? Do you know what might the reason for such a big difference? Unfortunatelly this is killing our app (where we need almost real-time processing)
Code for signing with ArConnect:
Code for signing with arbundles lib: