
Faster folder & dashboard loading
Bit of silent work to make folder navigation and finding the dashboard you need faster.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Hello. I've been working on content performance. Uh more specifically, um getting content to load quick also not break when there are large numbers of documents. And the problem there is that we're retrieving all of the um document ids and then sending that to a really large uh in statement and um it goes over the bound variable limit for Postgress.
Um so yeah, it's about making these pages faster but also just work. Um, so on the left here we have the uh page without the feature flag enabled and on the right we have the um content lookup performance feature flag enabled. And these should be exactly the same. You'll see they're slightly different um maybe with some of the folder names appearing slightly out of order.
Um first page here probably be slightly out of order. Uh but the document names themselves everything is in order there. Um, and we just couldn't help that because the ordering of the documents with the folder names underneath them um is natural in the database. Uh, but anyways, you'll see that uh the left here, you know, loads in about a second just over on the right is loading subsecond, you know, around 250 300 milliseconds less uh on average anecdotally.
Um, and the pages, uh, on the left here, you can tell, you know, there's a bit of a a lag time there. On the right, it's actually pretty snappy. Um, you hardly see that loader at the top. Uh, and it kind of feels like, you know, if we load 10 on this side, this side loads 100 in about the same amount of time.
Um, yeah, that's me. Thank you.