Fast giant vis

Nate Agrin · Friday Demos · September 26, 2025 · 5:12

Lots of hidden work to make rendering the largest data sets performant in Omni. Here we demo some early work to offload much of that work out of the browser. More work to do, but exciting…

Try it yourselfThe full week on docsdashboardsvisualization

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Uh, I'm going to demo what Chris was alluding to earlier. Um, it's a little bit tricky to demo, but basically, as Chris mentioned, we're messing around with uh like deep performance optimizations to our viz in particular when um the viz is or the data powering the viz is like especially large. Um, so you know, I guess what we're seeing is a lot of customers are coming in and doing things like select star over a table to just as like a to get familiar with the tool to to get a starting point to build something and then they'll build they'll take from that select star a couple dimensions and like a measure and build a relatively straightforward viz, but under the hood it's still being powered

  2. by a lot of data, right? So, um, this is a dashboard with one chart. I mean, it's got two charts, but one of the charts, the top one, has a lot of data. Um, and it's a little tricky to to demo this through video, but if I like resize this thing, you can see my browser is really lagging.

  3. uh like if I really like force it to do a lot of work like all these controls stop interacting. Um again a little tricky to demo because uh for me it feels really bad but probably doesn't come through on the screen. Um so this is very I would call this alpha. Um please don't take this as a a promise.

  4. we need to like figure out a bunch of remaining issues, but we're hopeful that we can um ship this and then, you know, sometime in the next few weeks or so or maybe month if it if it works out. Um but basically this flag can't type and talk at the same time. Um so under the hood what we're doing here is uh we've shifted all of the calculation for building a viz off the user thread and into effectively uh what what a browser calls a worker or you know in regular computer science nomenclature is a thread.

  5. Um and so now the heavy lifting happens elsewhere. uh it still notably takes the same amount of time basically to update the viz but it ensures that the UI remains responsive. So um you know as I resize this thing you can see the browser is keeping up right away like as soon as I let go takes a second or two to render this thing because it's just you know still doing a lot of work but if I click on menus they all work.

  6. So, all my actions still work while this thing is rerendering in the background. Um, that's pretty much it. Still got to figure out a bunch of things. Um, you know, like as you might notice, tool tips aren't working right now. Um, got to figure out some of the legend interactivity. Most of these things we think are solvable problems.

  7. So, we're we're hopeful that this is uh going to see the light of day, but um I would take this more as like a preview from the labs and not a you know like definitely shipping on Monday. Would would this make it possible to do way more data than 50,000 rows? And this is definitely a you have a master cookie question.

  8. 50 million rows, Nate. Um, well, uh, I definitely have a memory leak. And the memory leak right now lets the tab get to about 8 gigs of memory and then it crashes the tab. So, we can do up to about eight gigs of data. That sounds awesome. Yeah. Well, I mean, don't let's not ship eight gigs of data to the browser.

  9. That's uh Yeah. And I mean I would also emphasize like this is like a worst case scenario. I think we should also continue to refine the way we Yeah. Like like you have that great PR Jamie that I absolutely think we should continue to pursue where if a user is really only selecting two dimensions in a measure.

  10. Let's reagregate that on the server and you know make that a lot more performant. But uh but this definitely helps all these things together. Yeah. All these things together like yeah be awesome. Yeah I'm super stoked. And I mean honestly I think this is the way a modern viz library should work. Um and so we're kind of backporting uh this implement this relatively new implementation that browsers only like really enabled in the last year or two to some uh existing viz libraries.

  11. Okay. That's super exciting. Yeah, definitely exciting.