While looking a heap dump taken from a load test against a Rails 7.1 application, I saw thousands of empty array allocations. I don't think these amount to much more than a few megabytes of memory, but eliminating them was easy and it cleans up the profile a bit.
While looking a heap dump taken from a load test against a Rails 7.1 application, I saw thousands of empty array allocations. I don't think these amount to much more than a few megabytes of memory, but eliminating them was easy and it cleans up the profile a bit.