Archived
d3495476f4
El SDK Release / build-and-release (push) Failing after 13m0s
The generated C, amalgams, vendored runtime pins, and compiled binaries from the Claude Code era are removed from the worktree. The El sources survive; this tree is now source-only for the first-principles rebuild. Per Principal direction 2026-08-19.
17 lines
1.0 KiB
Bash
Executable File
17 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# measure.sh — re-runs cycle 07's measurements. Instruments only, no new ones.
|
|
set -uo pipefail
|
|
cd "$(git rev-parse --show-toplevel)"
|
|
echo "CYCLE 07 — the caller was already there"
|
|
echo "claim: exactly three seam emission points, all keyed on fn_name"
|
|
echo
|
|
echo "-- emission points, counted in the BUILT ARTIFACT, not in source text."
|
|
echo " (the original assertion grepped codegen.el while the harness ran a"
|
|
echo " prebuilt compiler, so it measured a file with no causal link to the"
|
|
echo " binary under test. see notebook v2 E003.)"
|
|
strings /tmp/el-mut-build/elc 2>/dev/null | grep -cE '^(entry|wrap|exit)$' | xargs -I{} echo " seam phase strings in binary: {}"
|
|
grep -oE 'el_seam_(run|wrap)\(' lang/el-compiler/src/codegen.el | sort | uniq -c | sed 's/^/ source: /'
|
|
echo
|
|
echo "-- compiler size, cloc (calibrated transfer standard):"
|
|
cloc --force-lang=C --quiet --csv lang/el-compiler/src/codegen.el 2>/dev/null | tail -1 | awk -F, '{print " codegen.el blank "$3" comment "$4" code "$5}'
|