Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

docs/lightspeed.feature: 0.1.4's rule with what landed and what was measured since (PF1-PF8)

shinyobjectz1bfd0388b063
diff --git a/docs/lightspeed.feature b/docs/lightspeed.feature
index bdec568e..61c58d8b 100644
--- a/docs/lightspeed.feature
+++ b/docs/lightspeed.feature
@@ -38,7 +38,9 @@ Feature: Lightspeed: raea as fast as anything could be, with the best quality, m
Then the baseline, warm, headless: projects listed 0.61 to 0.67 s after the app is spawned (its host up at
0.45 to 0.5 s); a project's feed shown 136 ms after the click with 6 cards, 260 to 282 ms with 41 (about 6 ms
a card)
- And open: a cold start (the first after a reboot), the window on screen, and a feed of several hundred cards
+ And the largest real project's feed (93 cards): its first card 215 ms after the click, settled at 320 ms
+ And the first launch after a new binary: 3.7 s to the projects listed (0.6 s warm)
+ And open: a cold start after a reboot, the window on screen, and a feed of several hundred cards
Scenario: PF2. Thumbnails: feed items, the library, a project's Source
Then a composition's still is `raea play FILE --offscreen --seek N` in a process of its own, two at a time:
@@ -46,6 +48,8 @@ Feature: Lightspeed: raea as fast as anything could be, with the best quality, m
And fixed (raea #141): beside a tsconfig.json, which raea writes into every new project, that play threw before
its first frame, so every still there was a failed play and then a render (as slow, and the app's stage and
`raea play` did not work at all in such a folder)
+ And faster with PF4's start (raea #147): the same three stills 0.5 s, 1.2 s and 1.2 s warm, and one of the
+ largest project that took 4.05 s as a one-frame render 0.63 s played
And open: stills drawn in one long-lived process instead of one each (each pays the engine's start), and the
library's tiles on a real library (the test copy has none)
@@ -54,8 +58,9 @@ Feature: Lightspeed: raea as fast as anything could be, with the best quality, m
review version and every shot to be joined was rendered at `--quality master`
And measured on 1080p24 film footage: default 16 Mbit/s, high 30, master 87; against the master encode the
default scores VMAF 99.5 (worst frame 95.8) and high 99.7
- And fixed in the guides and the skill (raea #143, raea-skills #59): a version made for notes takes no --quality
- flag, a film delivers at high, master is for delivered motion graphics and type, a replaced version is deleted
+ And fixed in the guides and the skill (raea #143, raea-skills #59, pinned 16ed215): a version made for notes
+ takes no --quality flag, a film delivers at high, master is for delivered motion graphics and type, a
+ replaced version is deleted
And open: the app saying what renders take and offering to make old versions smaller; whether the library's
copy of a render posted from a project is a clone of it or a second file
@@ -68,28 +73,52 @@ Feature: Lightspeed: raea as fast as anything could be, with the best quality, m
film made a shot at a time pays about 3.3 s a shot for nothing: 33 shots, 110 s)
And fixed (raea #144): a ray-traced camera's MSAA was turned on again every frame and off again by Bevy with a
warning, a line a frame in the render's log
+ And fixed (raea #147), the start: before its first frame a render read the first and last MiB of every picture,
+ sound and video under the edit's folder (to ask for an optimized copy only a video has) and walked the whole
+ folder, .git and node_modules included, for imports from outside it. Time to the first frame of an .mp4, bundle
+ cached: 2.0 s to 0.35 s in a project of 1,234 files, 7.4 s to 0.62 s in one of 10,226; a 60-frame shot 4.7 s
+ to 3.0 s end to end
+ And measured since, what the frames themselves are: flat 2D at 1080p is 254 frames a second with no wait on the
+ GPU; a ray-traced 1080p frame is 18 to 20 ms of GPU and about 5 ms of the scene's sync, so a long ray-traced
+ render is the GPU's. Four ray-traced shots side by side take 7.4 s where in turn they take 11.3 (1.5 times),
+ each frame two to three times slower: the GPU is one, and the window and every other render wait on it, so
+ it is not a default. Two to three times on ray-traced frames is a cheaper trace (fewer pixels or samples
+ traced, then upscaled), which changes the picture and is a rendering decision, not plumbing
Scenario: PF5. What agents lose time on
Then fixed in the lane check (tools/agents/check, on this Mac): the CLI surface step tests the raea it rebuilds
(it tested an older build on PATH, and stayed failing after its own rebuild), and the skills step reads the feed
app at raea-feed's main (it read whatever branch the shared checkout had out): a lane's check now passes with
no variables set
+ And fixed (raea #141, in 0.1.3): `raea play` beside a tsconfig.json, which every new project has
+ And fixed in the app (raea-feed #13, not merged): a review sent on an item whose author is named over a
+ connection went to an inbox it doesn't have, so its edits waited for good; and an agent whose session isn't
+ open is started again by the send
And open, each seen on 2026-11-13: a render with <Audio> that reaches no sound is refused only after every frame
- is drawn (53 s on a film); `--frames N` is ignored without a word when the file has a <Composition> (the whole
- film was rendered, and to a folder that was 4.9 GB of stills); `but commit` with a long message commits
- nothing and says so only in a hint; main can fail its own L1 after a GitHub merge (two stale generated pages
- blocked every lane for a morning); a release's Mac build is about three hours each time and ran many times
+ is drawn (53 s on a film; what sounds are known only once the frames are made); `-o DIR` writes every frame
+ as a PNG (4.9 GB for a film) with nothing said of its size; `but commit` with a long message commits nothing
+ and says so only in a hint; main can fail its own L1 after a GitHub merge (two stale generated pages blocked
+ every lane for a morning)
+ And a release's builds, about three hours each and run many times, moved to larger runners with a cache volume
+ and a compile cache: a candidate after a small change should take minutes (the release lane's; rc4 and rc5
+ are the first measured)
Scenario: PF6. Video playback and looking around a scene
Then video (raea #137): frames decoded a quarter second ahead and shown when due, a faster pixel conversion, a
small-drawn video drawn from a halving made off the page's thread: 4K30's worst wait between frames 76 ms to
39, 4K60 on a page drawing 120 times a second 0 of 1,214 frames passed over
- And open: frames still go through the CPU; the app's player re-renders its detail view at each timeupdate; the
- scene inspector's frame rate while orbiting is not measured
+ And the app's player (raea-feed #13, not merged): the detail view's clock is outside React state, so a playing
+ video's ticks render only what shows the time: the seconds of 60 fps play with a wait of 26 ms or more
+ between frames go from nearly all to about half
+ And open: frames still go through the CPU; the scene inspector's frame rate while orbiting is not measured
Scenario: PF8. Pages and assets from this Mac open at once
- Then covered so far by PF1 (a feed) and PF2 (stills); open: the Source view's lists, an asset's preview, a
- model's, and the library on a real library
+ Then covered so far by PF1 (a feed) and PF2 (stills)
+ And a project's Source view (50 compositions, 71 components): its list is there 0.18 s after the click when
+ its thumbnails are in the proxy store, and 2.4 to 3.8 s when the store is empty and the feed's own are still
+ being made. Not explained: the host answers in 0.25 to 0.33 s, the window draws 47 to 91 frames a second
+ throughout, holding still-drawing at the click changes nothing, and so does asking for no row thumbnails
+ And open: that first visit; an asset's preview, a model's, and the library on a real library
Rule: Lightspeed's goals (set 2026-10-19, after the four multi-day levers; the user: "just focus on lightspeed work")
Scenario: Who owns what now