Repository navigation
Conversation
… still owed against Linux Two performance requirements set ToyOS against Linux on matched work: build throughput, and an application's launch to a usable state. osbench measured neither as the work itself. proc.launch.first_output is the warm half of the second for a console program: osbench spawns itself as `osbench hello` with its stdout piped and times from the spawn to the first byte it reads, 100 launches after 10. The child's exit and the wait for it are outside the time, which is what sets it apart from proc.posix_spawn_wait.std. Both systems run the same binary, from memory once warm. The issue record holds the rows that are designed and not built, each with what it waits on: a compiler build (clang and LLD of one LLVM commit on both systems, linking identical bytes, waiting first on clang linking in a guest at all), a windowed launch, a boot to a usable session, a frame and an audio period. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Japabu
force-pushed
the
benchrows-launch
branch
from
November 11, 2026 14:37
54cfdfd to
a388908
Compare
…and tells no client Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1230 (base
benchrows); retarget tomainonce that lands. Test code and one issue record: no product code, no manual page.Two performance requirements set ToyOS against Linux on matched work: build throughput, and an application's launch to a usable state, cold and warm.
osbenchmeasured neither as the work itself. This adds the one row that can be built now and records the rest.What changes
proc.launch.first_output:osbenchspawns itself asosbench hellowith its stdout piped, and times from the spawn to the first byte it reads, 100 launches after 10, warm. The child's exit and the wait for it fall outside the time, which is what sets it apart fromproc.posix_spawn_wait.std(spawn, run, exit, wait). It is the warm half of the launch requirement for a console program: the same static binary on both systems, std and all.issues/osbench-compares-no-compiler-build-windowed-launch-boot-frame-or-audio-period-with-linux.md: the rows that are designed and not built, each with what it waits on.work.cc.j1,work.cc.j<cpus>): doomgeneric atapps/doom/build.rs's pin, or the TinyCC corpus, compiled by one LLVM commit's clang and linked by its LLD on both systems for the same target and sysroot, so both must link the same bytes; the compare refuses the row where the SHA-256s differ. It waits first on clang linking in a guest at all (hosted_clang_hellois red at the link until item 5 ofissues/toyos-builds-itself.md), then on staged ROOT files for a metal arm (only a QEMU boot takes them today) to carry the 83.8 MB package, and on that commit's clang and LLD for x86-64 Linux.wayland-dlopenin a static binary, a compositor image row, a session-up moment ToyOS does not record, a refresh rate ToyOS's window protocol does not give, an underrun count no ToyOS client can read, cpal's ALSA in a static binary).Decisions a reviewer should weigh
boot.*conditions stay conditions: ToyOS's first job and Ubuntu'ssystemd-analyzeare of two different boots.Checks
Status: draft. The host suite, the metal boot and the Linux runs are pending.
cargo +nightly-2026-07-22 build -p osbench --target x86_64-unknown-linux-musl --profile toyosat54cfdfd2a: exit 0; the binary handed to the benches has SHA-256e6638cd2162a4369fc2e298ccfa578e0fe603466a528d79b75c2e86ff3fe6645.cargo run -- --ci hostat54cfdfd2a: pending.osbenchrow's benchcase image staged at54cfdfd2aand requested on the T14 and the AMD bench, each with a Linux run of the same binary; pending. No guest row runsprocs, so the new row is first read there.🤖 Generated with Claude Code