
Model History Performance
Model history page load times reduced from up to 18s (P95) to \~2s, and median from \~1s to \~400ms, via a series of backend query optimizations.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I've got a quick one. Um Can you remember how to share? Okay. Um you can see like a chart. Okay. Um so we were talking a little bit last week about like work we've done to try to improve the performance of the model history page. Um and we kind of did this over a series of um performance improvements over last week.
So I just kind of wanted to quantify that a little bit. Um so I've got this graph here that's the uh I've got P50, P75, and P95 for um load time for the model history page um bucketed by day. Um so if you look at it like a few things to note is like there's this weekly drop, which is just like the weekends.
Um which is also just cuz like nobody uses it on the weekend, so there's just not a lot of load and so it's really quick. Um the other thing to note is like especially the P95 is like very inconsistent. Um which just kind of indicates that like depending on the load on our servers, like the amount of time it can take to load the like slowest history pages can really vary a lot.
Um and so then just like digging into like some of the improvements is like well if you look at the P95 over time, like it was anywhere between like you know, 9 seconds to 12 seconds to like 18 seconds. Um but then this is this past week um with the performance improvements, you can see it's like hovering pretty consistently around 2 seconds.
Um which is still not great, but is a lot better than 18 seconds. And that's for like the 95th percentile of these queries, so everything else should be um, you know, better. Um, and then similarly, just looking at the median here, um, same kind of story where you have this like pretty inconsistent um, median over time just based on load, um, along with these drops, these weekly drops for the weekend.
Um, so prior to the change, the median was, you know, somewhere around a second. Um, so this is like 820 milliseconds, a second, a second, you know, 1.2 seconds, whatever. Um, and now after the changes, it's consistently what is this? 400 milliseconds. Um, and there's just like less variation, too. So like uh, you know, the median now is going to be about half a second versus, you know, what possibly up to a second and then the on the higher end, you'll just like consistently get about 2 seconds for that.
Um, and yeah, I mean, we've got a couple other changes in the pipeline for that, but hopefully that should at least um, improve the experience certainly on the long end of things, um, for the performance of that page. Are you Are you going to demo the the reason you're doing this? Uh, I was not going to.
I'll save that as a teaser for next week. So, uh, get excited for that, maybe. Oh. I think that's it. I don't want to I don't want to celebrate the end of the meeting, but kind of in a Saturday night live fashion, I was thinking the three of us could go like let's call it, you know? How's that sound?
Let's call it. Let's call it. Later, everybody. Have a good weekend, guys.