Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

3 results for “treemap”

Newest and most relevant first

Setting a custom price for a model in AgentsView

Very little for most readers: this is a niche tip letting AgentsView users add pricing for brand-new models like Claude Fable 5 before the tool's official database catches up.

Simon Willison shared a short how-to for AgentsView, a tool by Wes McKinney that tracks token costs from coding agents on your laptop. A brand-new model, Claude Fable 5, was missing from AgentsView's built-in pricing database, so Willison reverse-engineered the app to set a custom price himself. This matters only to the small group already using AgentsView, whose screenshot shows $74.06 spent on one project and $516.62 saved by caching.

AgentsView, a token-cost analytics tool for local coding agents, lacked pricing for the newly released Claude Fable 5. Willison worked out how to enter a custom price, unblocking cost tracking on day one. For teams monitoring agent spend, this means new model releases can create brief blind spots in cost dashboards. Nothing about AgentsView itself changes; the workaround is documented in his TIL post.

AgentsView aggregates token usage across local coding agents with a per-model pricing database; when Claude Fable 5 shipped without a listed price, Willison reverse-engineered the app to inject a custom price. His example treemap shows $74.06 (89.3%) attributed to one project, with 57.6M cache reads versus only 769.3K cache writes and 300.9K output tokens, yielding $516.62 in cache savings versus uncached use.

Simon Willison’s Weblog →

go-size-analyzer

Go developers can now inspect exactly what makes their compiled binaries large, directly in a browser, and shrink them, Datadog reports cutting its Agent binaries by up to 77%.

A developer tool called go-size-analyzer shows what makes a compiled Go program big. It draws a colorful treemap, a set of nested rectangles sized by how much space each part takes, breaking a binary into standard library packages, your own code, and debug data. Simon Willison tested it on his 8.1MB Showboat tool. Anyone building Go software can use it to find and cut wasted space.

Binary size drives download, deployment and memory costs for anyone shipping Go software. go-size-analyzer, linked from a Datadog engineering post that cut its Agent Go binaries by up to 77%, lets teams see exactly where those megabytes go. It runs locally or in a browser via WebAssembly at gsa.zxilly.dev, so no installation is needed. Teams with bloated binaries gain a free, immediate diagnostic.

go-size-analyzer parses compiled Go binaries and renders a treemap of size by package and section. It runs locally or compiled to WebAssembly at gsa.zxilly.dev. Willison's 8.1MB macOS Showboat binary showed large DWARF debug sections (e.g. __zdebug_line at 404.44 KB), standard library packages like net/http and crypto/tls, and main packages. It surfaced via Datadog's post on reducing Agent Go binary sizes by up to 77%.

Simon Willison’s Weblog →

python-importtime-graph

Python developers can now visually pinpoint which module imports slow their startup, turning the built-in -X importtime trace into an actionable treemap.

A developer has released a free browser tool that visualizes how long Python takes to import each module when a program starts. You run Python with a special flag that prints import timings, then paste that text into the tool, which draws a treemap where bigger blocks mean slower imports. It is aimed at programmers diagnosing slow startup times.

Kevin Michel's python-importtime-graph is a free web tool that turns Python's import-time traces into a zoomable treemap, cutting the time engineers spend hunting down slow application startups. There is no cost or vendor lock-in; the benefit is faster performance debugging for any team maintaining Python applications.

The tool consumes output from 'python -X importtime', which prints a tree of per-module self and cumulative import times in microseconds. Kevin Michel's python-importtime-graph renders it as a browser-based treemap at kmichel.github.io. Simon Willison's example trace for his LLM CLI with 41 plugins showed a total of 2845.828 ms, with 'llm.cli' at 2256.275 ms and 'openai' at 150.043 ms; dense SVG output is zoomable.

Simon Willison’s Weblog →