Back

Pico, a signals library built for Isograph, posts top benchmark results
SiTech AI Team3 min read

Pico, a signals library built for Isograph, posts top benchmark results

Pico is a signals library built for Isograph. Across 57 workloads comparing 15 libraries, it had the fastest median time on 35, second on 11, and third on six. It was built mainly by coding agents.

Pico is a signals library created for the next version of Isograph. It was built with coding agents and benchmarked against 15 signals libraries across 57 workloads. Pico posted the fastest median time on 35 workloads, second on 11, and third on six.

Why Isograph needs Pico

Isograph is a compiler-driven framework for building data-driven applications. Its client fields are functions from graph data to values, and they can depend on each other. In the current version, changing any input flowing into a client field re-executes the whole function. Pico extracts caching as a separate library so Isograph can cache more aggressively and other projects can use it too.

How Pico performs

Across 57 workloads comparing 15 signals libraries, Pico had the fastest median time on 35, placed second on 11, and third on six. The author also points to full benchmark results and four whimsical performance demos. In one benchmark, 1,000 components displayed the same name; alternating updates to one unread field with rerendering one random component took a median 2.75 microseconds in Pico, 21.0 microseconds in Alien, and 19.4 microseconds in Preact. Switching between a list and a board over cached records, including cleanup, took 0.39 ms in Pico, 3.41 ms in Alien, and 0.51 ms in Preact. When one source was updated 10,000 times in a batch, Pico took 30% less time than Alien, 48% less than Preact, and 36% less than r3 across native API runs.

How Pico was written

Pico was an experiment in agentic hill climbing. The author designed the API, goals, contracts, and acceptance criteria, while coding agents implemented the library, wrote tests, profiled code, and tried changes against benchmarks. A pre-existing reactivity benchmark suite was the starting point. One main agent was used at a time, and 99% of the library was done in a week. The author reran seven workloads on 108 revisions using Node 24.12.0 on an Apple M5 Pro. By the end of the first day, geometric mean throughput reached 4.71 times the prototype's, and it finished at 4.38 times.

What was tried and performance lessons

Two major experiments did not pan out. A WebAssembly prototype was slower on 16 of 21 app-like workloads, so Pico stayed in JavaScript. Scheduling by height helped when many components read a rarely changed field but did not produce consistent overall wins. The post also lists performance principles such as benchmarking each optimization, avoiding allocations, avoiding unnecessary mutation, keeping object shapes stable, avoiding polymorphism, and moving checks outside loops. When asked what was innovative about Pico, the agent said nothing, because every technique had precedent in other libraries or literature.

Sources: isograph.dev

SiTech

SiTech — AI-powered web development

We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.