
More Efficient Blobby
This demo compares how context and cache improvements reduce the amount of work needed for a Blobby session. It then explains context collapsing, where large sections of an app are…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
So, we've done a lot of work with context. Um, that's before I made all these little improvements over the last couple of weeks, so to speak. And this is the use of the cache after them. So, with the same tokens from my session during this workshop, the value dropped from about $1.39 to 36 cents at Sonic prices.
This is just due to reduced context usage, cache optimization, and because cache invalidation happens much less frequently, and other similar things . So we use resources more efficiently, and the big feature that I released this week is context collapse, or you could say, scope collapse. So when Blobby now loads a large app, the large sections are collapsed into bullets that Blobby can expand on request, and it sees something like the structure of the app, rather than all of its text right from the start.
For the specific application we're looking at here, that's about 68k characters, but when Blobby loads it for the first time, it only loads 16k. So you get something like this . Folding. Enable this on ETH. We can see a trend line, uh, what is that? This is the average number of characters per read, we reduced it by about 20-30%.
And for large applications, we get a median size reduction of about 43%.