Shunya Systems

What came out: eight days on one project

A worked example with its numbers and its mistakes: a portfolio site taken from unusable on a phone to smooth, in twenty-three reviewed pull requests.

5 min read

A system like this is worth describing only if something comes out of it. So far three things have: tantr, the framework the apps are built on, which has its own page; this site; and a portfolio at vishalraj.space, a gallery you walk through, drawn in three dimensions in the browser. This article follows the portfolio through eight days, because it is the clearest record of how the system works on an ordinary job.

The starting point

The portfolio ran well on a desktop. On a phone it ran at two to five frames a second. The title took a long time to appear, scrolling stalled, and the gallery could barely be entered. The request was three words: improve the mobile experience.

How the work went

The planning agent did not guess. It asked the worker seat on the desktop to measure, on a real phone connected by cable, where each frame's time went. The answers came back layer by layer.

  1. The phone was drawing three times as many pixels as it needed. Capping the pixel ratio was the largest single gain.
  2. The animated background did the same amount of work on a phone as on a desktop. It was given a lighter setting for phones.
  3. The gallery computed its lamps on every frame. They were computed once and kept.
  4. Things were being loaded and compiled at the moment they were first shown, which is when a stall is most visible. All of it was moved under the loading screen. The founder's instruction was to take all the time once, at the start, and never afterwards.

After these, on the same phone: about thirty frames a second on the title, twenty-six while scrolling, thirty-eight in the gallery.

Then the controls

Speed was not the end of it. The founder tested each build on his own phone and wrote back what he felt: the walk dragged, the gallery ignored a sideways push, a menu was hidden. Each remark became a ticket, a brief and a pull request with a link to try. The gallery got a thumb stick with acceleration. The title got two timed strokes. The phone got a pointer made from touch and tilt, so that what a mouse does on a desktop has an equal on a phone.

The numbers

MeasureValue
Days8
Pull requests merged23, each read and merged by a person
Pull requests closed without merging2
Frames a second on the phone, before2 to 5
Frames a second on the phone, after26 to 38, by scene
Automated tests at the endmore than 1,000

What went wrong

The record is more useful with its mistakes in it.

None of these reached the live site unnoticed, because nothing reaches the live site without a person merging it. That is the part of the design doing its job.

What it shows

One person directed this work in the gaps of his days: a few lines from a phone, a review in the evening, a merge. He did not write the code. He decided what was wanted, said when it was not yet right, and kept the last word. The agents did the measuring, the building and the testing, and wrote down what they did.

That is what Shunya Systems is: a way for one person to do the work of a small team without giving up the decisions. The apps it is now building are not public yet. If you would like to see them early, ask.

Request access

What is collected, and why