
Ludacris vis launch (huge perf win)
Our huge rebuild of the vis render experience is close. We're waiting on a core Firefox bug we discovered building this, but the outcome is enormous (think 50k, 100k, 500k point…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Hey, what's up? Uh, I was worried I was going to send back the demos, but don't worry everyone. Stephen just joined backstage. Um, I actually have two. Uh, depending on how long Stevens goes, I might try to reboot my server, but uh, otherwise I will do the second demo as just a a recorded video and drop it in the product channel.
Basically, the second demo is um demonstrating simple totals on stacked measure charts, which has been a long-standing ask. So, got that out in a PR now. Um okay, on to my main demo. Uh children of the 80s will understand this screenshot. We're trying to take Rob and I were trying to take the Cartisian viz, specifically the Vega viz, to Ludacris speed.
uh maybe even reach Plaid. We'll see. Um okay, so basically what we're doing is um this is very behind the scenes. We demoed this a couple weeks ago, but we're starting to push rendering of our viz into a worker thread, which basically just allows us to process really large amounts of data without interrupting the UI. So this is pretty much the same demo I gave a couple weeks ago.
The big difference here is um behind the scenes there were a number of bugs and we ultimately decided that the only real way to address those bugs was to basically patch the library we're using which is a pretty complicated process. Um, and just because of like the speed that we want to uh deliver these features, we've we've also forked all of the the like the core library along with all of its core dependencies so that we can continue to just push these features out at a pretty rapid pace.
So, what you're seeing here is being driven by all of that fork uh work. Um, and you can see down here like the main issue on this dashboard is this chart is rendering something like north of 50,000 rows. So just a like a huge amount of data and it's not blocking resizing at all. And then the other fun bit is uh there are two fun bits here.
One is this mechanism uh was not compatible out of the box with Firefox. And so specifically when we had labels on charts, they just straight up broke. Um, and now you can see they don't break anymore. Uh, so we fixed that bug. And then the other real fun one is we actually discovered a browser bug. So we're filing this with Firefox directly.
Uh, but you'll notice that Firefox it it might not come through in the video, but as I move and resize the page, these charts flicker. And so we discovered a really very low-level uh browser issue um that just seems to be systemic. It's easy to re uh reproduce even outside of our app. And so we're going to follow that with them.
And I think the goal for now is to get this work out behind a beta flag. um you know enable it for customers who are interested in in trying it out with the caveat that there is this core bug on Firefox that needs to get fixed before that flickering behavior can be uh remedied. But otherwise, yeah, it works pretty well.
It's pretty fast and um it's it's nearing the finish line for sure.