takes 5-10 seconds to upload.
Can't reproduce this locally.
It's some issue that happens in production only. I am guessing it's related to some frontend code that runs/augments JS events, perhaps something for tracing or metrics.
Yep, I was right. Did a CPU trace and here's what I got:
That means all image uploads get "logged" to this service. We need to find a way to skip that.