
Faster dashboards, smaller models
Huge improvements to slim down the model size on dashboard loads to only the dependencies needed, often reducing dashboard download size by an order of magnitude for large models
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I have a couple I could do um Colin how do you feel about me doing a demo where I show our internal bug dashboard that's fine okay um cool so I've been sort of stashing up a bunch of things to demo um this one went out a couple weeks ago like a week or two ago uh and basically to change with with respect to how we load data for dashboards that uh makes them a lot faster when organizations have large models um there are some of our some of our customers have models that are already in excess of tens of megabytes and the way our code was originally written that was blocking rendering dashboards um the the model data is really only used for dealing
with like filters um so this work ended up being a collaboration between me and Stephen uh basically what you'll see now is um if I click here this dashboard doesn't have any filters so the first of all the response payload is quite a bit smaller 6.3 KB zipped over the over the wire uh unzipped it's like 26 KB um and you can see down here we have have this minimal views array that's now completely empty because we have no filters so we don't need to load anything um if I switch over to edit mode and then I click add filter you'll see now this request is quite a bit larger 412 KB zipped 7.5 Megs uh unzipped I think timing here is plus 1 second
yeah so um you know not incredibly slow but you can imagine if we're sending 30 40 50 Megs over the wire those times we're getting up to like five six seconds just to render a dashboard that was pretty bad now we only send that down when you're doing some edit operation and we do it async uh I don't have a large enough model to demo it basically like all this UI will fly out with spinners and then eventually it'll all pop in as the model loads you can see the model here is now downloading everything which includes on our internal instance like hundreds of views um so yeah nice nice performance Improvement