aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/connections/results/2026-09-24-compact-runtime
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-24 17:14:54 +0100
committereunhhu <[email protected]>2026-09-24 17:14:54 +0100
commitb1ce1927022d374198441afafeb27199fc8a052a (patch)
tree6021f175f4c67ed03b44240eaa2f90d846f12f6f /prototypes/connections/results/2026-09-24-compact-runtime
parentd34f9426d5317a1948f12f229439946728bc342a (diff)
downloadpure-b1ce1927022d374198441afafeb27199fc8a052a.tar.gz
pure-b1ce1927022d374198441afafeb27199fc8a052a.zip
Establish native micro runtime checkpoint
Diffstat (limited to 'prototypes/connections/results/2026-09-24-compact-runtime')
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/cli-check.json12
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/cli-tui-check.json14
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/cli-tui.tar.gzbin0 -> 31971 bytes
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/cli.tar.gzbin0 -> 12885 bytes
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/core.json53
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/default-profile.json32
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/fixed-memory.json15
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/fixed-profile.json32
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/source-cli-check.json12
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/source-cli.tar.gzbin0 -> 22454 bytes
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/tui-profile.json21
-rw-r--r--prototypes/connections/results/2026-09-24-compact-runtime/tui.json22
12 files changed, 213 insertions, 0 deletions
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/cli-check.json b/prototypes/connections/results/2026-09-24-compact-runtime/cli-check.json
new file mode 100644
index 0000000..3e93243
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/cli-check.json
@@ -0,0 +1,12 @@
+{
+ "archive_sha256": "c69d3934b3567338c5a9c607b2a7f5df19963f3b45d6172d5538e8444125437b",
+ "archive_bytes": 12885,
+ "selected_hosts": [
+ "pure-edit-fixed"
+ ],
+ "checks": [
+ "relocated archive has only declared files and every file hash matches",
+ "relocated parser-free runner creates and restores a document",
+ "relocated parser-free runner performs revision-checked edits"
+ ]
+}
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/cli-tui-check.json b/prototypes/connections/results/2026-09-24-compact-runtime/cli-tui-check.json
new file mode 100644
index 0000000..5d70484
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/cli-tui-check.json
@@ -0,0 +1,14 @@
+{
+ "archive_sha256": "5d554fc24ce273306efe77be9e137424cac08f16c067f4691206a33030af844b",
+ "archive_bytes": 31971,
+ "selected_hosts": [
+ "pure-edit-fixed",
+ "pure-edit-tui-fixed"
+ ],
+ "checks": [
+ "relocated archive has only declared files and every file hash matches",
+ "relocated parser-free runner creates and restores a document",
+ "relocated parser-free runner performs revision-checked edits",
+ "relocated terminal editor saves UTF-8 and one MiB documents"
+ ]
+}
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/cli-tui.tar.gz b/prototypes/connections/results/2026-09-24-compact-runtime/cli-tui.tar.gz
new file mode 100644
index 0000000..1846344
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/cli-tui.tar.gz
Binary files differ
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/cli.tar.gz b/prototypes/connections/results/2026-09-24-compact-runtime/cli.tar.gz
new file mode 100644
index 0000000..b216469
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/cli.tar.gz
Binary files differ
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/core.json b/prototypes/connections/results/2026-09-24-compact-runtime/core.json
new file mode 100644
index 0000000..63eb227
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/core.json
@@ -0,0 +1,53 @@
+{
+ "passed": true,
+ "failures": [],
+ "budget": {
+ "profile": "current-storage-execution-core",
+ "max_text_bytes": 6144,
+ "max_data_bytes": 0,
+ "max_bss_bytes": 0,
+ "layout_max_bytes": {
+ "domain_bytes": 128,
+ "work_slot_bytes": 224,
+ "ticket_bytes": 24,
+ "prepared_program_bytes": 680
+ },
+ "archive_members": [
+ "runtime.o",
+ "evaluate.o"
+ ],
+ "external_symbols_allowed": [
+ "memcpy",
+ "memmove",
+ "memset",
+ "strlen"
+ ],
+ "scope": "Compact release object sections and C bookkeeping, without opt-in PURE_RUNTIME_METRICS, validated with GNU tools on Linux AArch64. Not total RAM, process RSS, stack, linked libraries, parser, storage, network or UI. 6 KiB is a regression ceiling for this profile, not a universal runtime size promise."
+ },
+ "layout": {
+ "domain_bytes": 128,
+ "work_slot_bytes": 224,
+ "ticket_bytes": 24,
+ "prepared_program_bytes": 680,
+ "pointer_bytes": 8
+ },
+ "sections": {
+ "text": 5908,
+ "data": 0,
+ "bss": 0
+ },
+ "members": [
+ "runtime.o",
+ "evaluate.o"
+ ],
+ "external_symbols": [
+ "memcpy",
+ "strlen"
+ ],
+ "size_output": " text\t data\t bss\t dec\t hex\tfilename\n 4988\t 0\t 0\t 4988\t 137c\truntime.o (ex /home/eunhhu/work/pure/prototypes/connections/build/libpure-execution.a)\n 920\t 0\t 0\t 920\t 398\tevaluate.o (ex /home/eunhhu/work/pure/prototypes/connections/build/libpure-execution.a)\n",
+ "archive_sha256": "bb5750a47f6f8ac4307dd633d836460d6045347880a6c53df9669e675e49929e",
+ "layout_binary_sha256": "04c008fb7e0b1ecc8435bce6fbc4478de6180a54da6538d8742acb9b51992fe3",
+ "budget_sha256": "e418419db6231305342ea8780149948e0e41e28b3afb937268e80b4695d3d5cd",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "size_tool": "GNU size (GNU Binutils for Debian) 2.44"
+}
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/default-profile.json b/prototypes/connections/results/2026-09-24-compact-runtime/default-profile.json
new file mode 100644
index 0000000..b12bfac
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/default-profile.json
@@ -0,0 +1,32 @@
+{
+ "passed": true,
+ "failures": [],
+ "profile": "linux-aarch64-gcc14-default-document-hosts",
+ "scope": "Review thresholds for release-built default CLI and HTTP adapter on the recorded Linux AArch64/GCC 14 toolchain. These section sizes exclude shared libc, heap, stack, mapped files, kernel buffers, and optional GTK/TLS hosts. Any failure requires a cost review, not automatic relaxation.",
+ "budget_sha256": "8b1eb0dd4844757705c24a0674142e76d9ee83fdce80a841e87a08e757f1183d",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "binaries": {
+ "pure-edit": {
+ "sections": {
+ "text": 35783,
+ "data": 944,
+ "bss": 16
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "e1d49cb048b3e9c25183ab0a4cf30c55486f696c13d20a85d69e0ddc04e040c7"
+ },
+ "pure-connections": {
+ "sections": {
+ "text": 43938,
+ "data": 1068,
+ "bss": 16
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "662e2e9dfa6b77d06781d36912b9c2d79427a95e9ec14bc174454fb3f54deecb"
+ }
+ }
+}
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/fixed-memory.json b/prototypes/connections/results/2026-09-24-compact-runtime/fixed-memory.json
new file mode 100644
index 0000000..cddbe7b
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/fixed-memory.json
@@ -0,0 +1,15 @@
+{
+ "passed": true,
+ "failures": [],
+ "profile": "linux-aarch64-gcc14-native-document-cli-memory",
+ "variant": "fixed-program",
+ "scope": "Peak process RSS via a small fork/wait4 helper on Linux AArch64. Covers this CLI, libc, the embedded prepared program, store, and one 1 MiB document workload; excludes filesystem cache, kernel buffers, other processes, selected TLS/GTK hosts, and other applications. These are regression ceilings for this toolchain, not a universal memory guarantee.",
+ "samples": {
+ "small_edit_rss_kib": 1104,
+ "one_mib_edit_rss_kib": 2112,
+ "one_mib_show_rss_kib": 1072
+ },
+ "budget_sha256": "53144cabe646e0478f25f4e770ce01bad06f4984ef47f5160d212c02c0b7569f",
+ "binary_sha256": "df77304f4ab30eaee3ef41f8ac1f353d8faebcba163cfd76f0b18973e6dc16f5",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41"
+}
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/fixed-profile.json b/prototypes/connections/results/2026-09-24-compact-runtime/fixed-profile.json
new file mode 100644
index 0000000..ff98463
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/fixed-profile.json
@@ -0,0 +1,32 @@
+{
+ "passed": true,
+ "failures": [],
+ "profile": "linux-aarch64-gcc14-fixed-document-runner",
+ "scope": "Release-linked CLI and HTTP document hosts with one build-time prepared app. The source parser and compiler are separate build tools. These text ceilings apply only to the recorded Linux AArch64/GCC 14 toolchain and exclude libc, heap, stack, and storage files.",
+ "budget_sha256": "2b7e550992abb1872e52846dec712fab59b78692b776fd7e648d7976299f4b2a",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "binaries": {
+ "pure-edit-fixed": {
+ "sections": {
+ "text": 19244,
+ "data": 920,
+ "bss": 16
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "df77304f4ab30eaee3ef41f8ac1f353d8faebcba163cfd76f0b18973e6dc16f5"
+ },
+ "pure-connections-fixed": {
+ "sections": {
+ "text": 26549,
+ "data": 1028,
+ "bss": 16
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "9cc73e8f8da266083e8da0628bb30441f6fa9f73317d75e65df8b5231007c746"
+ }
+ }
+}
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/source-cli-check.json b/prototypes/connections/results/2026-09-24-compact-runtime/source-cli-check.json
new file mode 100644
index 0000000..78c01d5
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/source-cli-check.json
@@ -0,0 +1,12 @@
+{
+ "archive_sha256": "0d2785a8893f7cb4b9947c64eb278587f96720926163575c3ec51e106fafedc7",
+ "archive_bytes": 22454,
+ "selected_hosts": [
+ "pure-edit"
+ ],
+ "checks": [
+ "relocated archive has only declared files and every file hash matches",
+ "extracted native CLI creates and restores the real document",
+ "editing the packaged .pure source changes the executed reply"
+ ]
+}
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/source-cli.tar.gz b/prototypes/connections/results/2026-09-24-compact-runtime/source-cli.tar.gz
new file mode 100644
index 0000000..cb6492f
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/source-cli.tar.gz
Binary files differ
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/tui-profile.json b/prototypes/connections/results/2026-09-24-compact-runtime/tui-profile.json
new file mode 100644
index 0000000..986fd17
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/tui-profile.json
@@ -0,0 +1,21 @@
+{
+ "passed": true,
+ "failures": [],
+ "profile": "linux-aarch64-gcc14-fixed-document-terminal-editor",
+ "scope": "Release-linked optional POSIX terminal editor for one build-time prepared document app, including the bounded document browser. The raised text ceiling reviews its measured 2,541-byte addition; default CLI and core ceilings are unchanged. Excludes libc, terminal emulator, kernel TTY buffers, heap and stack. Whole-process RSS, including 1,024-key browsing, is checked by check_tui.py on the recorded Linux AArch64 host.",
+ "budget_sha256": "4d3097c9ec3c0139cbdd82161a74d610c15d31c6ee5625101410627664f925e7",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "binaries": {
+ "pure-edit-tui-fixed": {
+ "sections": {
+ "text": 32015,
+ "data": 1036,
+ "bss": 24
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "3118fa11fe6ee6587bb122ae30a0d3c5cf1a8cec3131bb65b11246480c9d3b9e"
+ }
+ }
+}
diff --git a/prototypes/connections/results/2026-09-24-compact-runtime/tui.json b/prototypes/connections/results/2026-09-24-compact-runtime/tui.json
new file mode 100644
index 0000000..639ae64
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-compact-runtime/tui.json
@@ -0,0 +1,22 @@
+{
+ "profile": "native-fixed-document-terminal-editor",
+ "checks": [
+ "cursor insertion and save through terminal",
+ "open another key",
+ "bounded document browser selects keys and protects unsaved draft",
+ "UTF-8 codepoint movement, visible redraw and edit",
+ "resize redraw",
+ "external revision conflict preserves draft",
+ "stored multiline and tabbed document survives edit and reopen",
+ "cached viewport preserves vertical movement across many rows",
+ "one MiB document viewport, edit and fresh CLI restore",
+ "one MiB UTF-8 viewport and edit before cached anchor",
+ "1,024 real documents listed, searched, resized and opened within RSS gate",
+ "terminal mode restored after key and signal exit"
+ ],
+ "small_peak_rss_kib": 1808,
+ "one_mib_peak_rss_kib": 3168,
+ "one_thousand_key_list_peak_rss_kib": 1888,
+ "one_mib_peak_rss_limit_kib": 4096,
+ "binary_sha256": "3118fa11fe6ee6587bb122ae30a0d3c5cf1a8cec3131bb65b11246480c9d3b9e"
+}