Add benchmark dot diagrams showing performance differences
5 new diagrams (Graphviz DOT → PNG): benchmark-ack.dot — ack(3,4) across all 5 tiers benchmark-sumto.dot — sum-to(50k) across all 5 tiers benchmark-fib.dot — fib(35) iterative across all 5 tiers benchmark-speedup.dot — JIT speedup ratios (7x-784x) benchmark-binary-size.dot — 13KB asm vs 171KB C vs ~30MB Python JIT: 0.19ms ack, 7x faster than CPython, 784x faster than Python VM. Makefile docs target now auto-discovers all docs/*.dot files.
This commit is contained in:
parent
d49c01d0bf
commit
5fb1f0cb17
11 changed files with 103 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -116,7 +116,10 @@ friction: c-build asm-build
|
|||
|
||||
# ─── Documentation ────────────────────────────────────────────────
|
||||
|
||||
docs: docs/python-architecture.png docs/c-architecture.png docs/asm-architecture.png docs/jit-pipeline.png
|
||||
DOT_FILES := $(wildcard docs/*.dot)
|
||||
DOT_PNGS := $(DOT_FILES:.dot=.png)
|
||||
|
||||
docs: $(DOT_PNGS)
|
||||
|
||||
docs/%.png: docs/%.dot
|
||||
dot -Tpng $< -o $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue