Slow R2 puts

Loving this right now, ty! I am seeing weirdly slow times with R2 puts though, any idea why? It's taking ~400ms right now for small files. Currently taking up basically all of my test time :blob_sweat: I spoke with James and he had the same issue. His repro: https://github.com/Cherry/ShareX-R2-Cloudflare-Workers/blob/main/test/upload.test.ts
1 Reply
MrBBot
MrBBot•8mo ago
Hey! 👋 Not too sure. Is it the test that's taking a while, or the put() call specifically? If it's the test as a whole, I suspect this is more related to the performance of isolated storage: https://github.com/cloudflare/workers-sdk/issues/5395. Could you try disable that with isolatedStorage: false and see if that improves things?
Want results from more Discord servers?
Add your server