While contributing to Grafana, I picked up a memory issue in the Time Comparison feature β€” a follow-up to earlier performance work I had done in the same area. A comparison panel was consuming significantly more memory than expected. The interesting part: the extra memory wasn't coming from real data. This post covers how I traced it to the root cause and fixed it. Background Time Comparison overlays an earlier period onto the current one β€” for example, this week vs. la...