Skip to content
suit Artifact [6d70dcc76a]
Login

Artifact [6d70dcc76a]

Artifact 6d70dcc76a002270f29c05b88b7099db0ddd33d828c0095096c9201ddc028b79:

Manifest of check-in [6d70dcc76a] - Phase 1: the config parser, the no-change run and the speed bench

suit check parses suit.conf strictly and prints a canonical dump. Any unknown kind or key, duplicate, cycle or dangling name rejects the whole file with its line number.

suit run compares a stamp against the files it names and exits without writing, allocating or printing when nothing changed.

suit bench times suit run against an empty program built the same way and against /usr/bin/true, interleaved, and fails the build when the no-change run costs more than 1 ms over the empty program or 1 MiB more memory. It measured 0.65 to 0.94 ms over, quiet and under load. A system binary starts 0.6 to 1.5 ms faster than any built binary on macOS, so it is shown for information and is not the baseline.

94 unit checks, 100 shell cases and a libFuzzer target for the parser. by dmestas on 2026-11-12 19:36:41.


C Phase\s1:\sthe\sconfig\sparser,\sthe\sno-change\srun\sand\sthe\sspeed\sbench\n\nsuit\scheck\sparses\ssuit.conf\sstrictly\sand\sprints\sa\scanonical\sdump.\sAny\nunknown\skind\sor\skey,\sduplicate,\scycle\sor\sdangling\sname\srejects\sthe\swhole\nfile\swith\sits\sline\snumber.\n\nsuit\srun\scompares\sa\sstamp\sagainst\sthe\sfiles\sit\snames\sand\sexits\swithout\nwriting,\sallocating\sor\sprinting\swhen\snothing\schanged.\n\nsuit\sbench\stimes\ssuit\srun\sagainst\san\sempty\sprogram\sbuilt\sthe\ssame\sway\sand\nagainst\s/usr/bin/true,\sinterleaved,\sand\sfails\sthe\sbuild\swhen\sthe\sno-change\nrun\scosts\smore\sthan\s1\sms\sover\sthe\sempty\sprogram\sor\s1\sMiB\smore\smemory.\sIt\nmeasured\s0.65\sto\s0.94\sms\sover,\squiet\sand\sunder\sload.\sA\ssystem\sbinary\nstarts\s0.6\sto\s1.5\sms\sfaster\sthan\sany\sbuilt\sbinary\son\smacOS,\sso\sit\sis\sshown\nfor\sinformation\sand\sis\snot\sthe\sbaseline.\n\n94\sunit\schecks,\s100\sshell\scases\sand\sa\slibFuzzer\starget\sfor\sthe\sparser.
D 2026-11-12T19:36:41.674
F .zitignore 69150a605708e5554ffeb6f88c2b03a732ccad697f9bc719dca09a524e05c2e3
F Makefile c9209a03dfa889fc6af8cda93eb32bd033751cc252a4fc3efc9c857708ad15b5
F README.md 052cf7d8c3acdd7508949f0be4ba659205b4395ebd09189c21a36004292fac16
F docs/conf-format.md 40511b5c9c503ef45a8f7880409e69e9ced139887e3d3422695e357d4de6bcd7
F docs/decisions.md bfe62dae4fdf489ec546f683aff5b2e52e2932f9845c62a6546ced55220581cb
F docs/evidence.md 65263870cb8efae53493b94622384d1279b6acb06b8a177a38771c324e946503
F docs/phases.md 4ece6661e518542d376cb175ef7690f8126cdaf2176b7c32f9e5ff879ddea1b3
F docs/vocabulary.md e8c6bc5b477057b55a105a49a2ef383453c3f068a019be09b6a3e89c86d06e1d
F src/bench.c 3e12a900e7c8e7a1eb9d5ec882d87ea851d5e6b9bd2d7b663bdcca07db28470b
F src/bench.h 7fbc715b5725b0e5403842670162d6c12f4353ed3f235e96c4ca79dfad57ae9a
F src/conf.c 4340f4760e706812eacf1eeaebeef73f7db3475c9ca444abef9c7561dbc52c25
F src/conf.h 8e9274fc6e6c2e77d30cb9d0b2278085eed3d84d13057cad17e79d388aacb4ff
F src/main.c fe656958b1b19d39cd0a458d5027f42dd391e51969597904595a523d20b2b2b2
F src/platform.c 9c7db28676550bc5a5913d5ee282920e65798bd77205869ae0ffa081dd629292
F src/platform.h af1b8d9b453e893026435524d28887062ebb79c0fb16d4922b32a6ec2764156e
F src/stamp.c 8d5f4ab47627ce5a33ddbcc55e6d004c29335b99759c8cda8b46c2b7fdd39b60
F src/stamp.h 9fbff308f369ded3dee7a846f03e6cf9708d4cbd96b0498390894d7342ba128e
F test/budget.sh e763027f8d730a55ddbcb6acec4f73ecfe9f22c525ca775a4f233506b22e509a
F test/corpus/cycle.conf 2846b8553806e957a61cb5aaeed56f21fbd1cdbc33a05d6e7b15ecd136c66c94
F test/corpus/everything.conf 9c94071a7c2b4b1d698c77f444daa2249e532e674d9cf693f73c6f15aa374b2f
F test/corpus/example.conf 3e36f6a1968249540b08790ee0c89757f841e3b3ee65f6f7bccc48e94353f608
F test/corpus/harness-min.conf 8fe6a8053307ee6739a37b7cd0eaf281306d6be1400735ee1a170a0f529101e2
F test/corpus/malformed.conf b66afe714578f52b01696aea7165735f395505399d452d089cfc0607faebc437
F test/corpus/upstream-need.conf 1e842d926073b903e06d9b33c1702fb95cfa6ff9e1909cca06952099a0bad5ae
F test/corpus/wear-bad.conf 2de7d41ebc9b3b884598461f28294cedb1352c5da5e19eb43c1146589686b018
F test/empty.c ef30bf8ab404da88c777979d0eeb8729f59cff33423382cfb212ed7b70a7f31c
F test/fixtures/everything.conf 9c94071a7c2b4b1d698c77f444daa2249e532e674d9cf693f73c6f15aa374b2f
F test/fixtures/everything.dump 26e211d79ffb6bc44d44e4ac3991aada9ea8c25c7a8c3cd379eb26daaf5893e0
F test/fixtures/example.conf 3e36f6a1968249540b08790ee0c89757f841e3b3ee65f6f7bccc48e94353f608
F test/fixtures/example.dump 49fcd24a99ed3544e0a2aafc47403b178bf6189d7198402ad86e842f8211c3dc
F test/fuzz.c c6b31b0c7726bb100e3483c09e845ff21b6e51405fe35937986cc8c0b30bf4ae
F test/run.sh 7f4fea22aa953d578a51738bb1add8a0f9c44d8fc7b8b7518aa44f945a2092be
F test/unit.c 48c4f2f9941226bd125dc86fac85d84d1fe622dec229a1ed78d14becc92b4118
P ac44a32bed261ad8c072bb722f2b513aae00361608d4cfa1d93d3d6d1720b4b1
U dmestas
Z b97e9bc35100e742d1d0f47341688751