aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/040-against-c
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-19 08:05:53 +0100
committereunhhu <[email protected]>2026-10-19 08:05:53 +0100
commit4a7e780278df740e5e37c3307fe687405df72448 (patch)
treeab56d72029970669416705cd5ea7c50f9caffbf3 /research/experiments/040-against-c
parent1c1133ce8258dad367aad3b7c8eee0083aecf772 (diff)
downloadpure-4a7e780278df740e5e37c3307fe687405df72448.tar.gz
pure-4a7e780278df740e5e37c3307fe687405df72448.zip
140: LIST_VALUE's copy reviewed before building (measured by spec: UAX #14 about 10% of its time, JSON tree 6%, HTTP 2%, inflate 0.06%, the rest none; the cost a tree built item by item, 64 ns an item and 250 ns a copy): lend and detach (CoW) noted as the decision point (a branch on every event list's change for 10/6/2/0/0/0), a compile-time move ruled out (it changes LIST_VALUE's contract), the arrays copied whole built (UAX #14 -6.8%, its share to about 3%); 041's five works within 0.03% (b49, b50), the bank's queries within 0.3% (s49, s50), noise between builds larger
Diffstat (limited to 'research/experiments/040-against-c')
-rw-r--r--research/experiments/040-against-c/2026-10-19-counts.jsonl4
1 files changed, 4 insertions, 0 deletions
diff --git a/research/experiments/040-against-c/2026-10-19-counts.jsonl b/research/experiments/040-against-c/2026-10-19-counts.jsonl
new file mode 100644
index 0000000..659baa7
--- /dev/null
+++ b/research/experiments/040-against-c/2026-10-19-counts.jsonl
@@ -0,0 +1,4 @@
+{"serve": "pure-serve", "per_branch": {"instructions": 27019462, "cycles": 12164303}, "in_credit": {"instructions": 3545634, "cycles": 1607652}, "large": {"instructions": 1410326, "cycles": 594546}, "ranks": {"instructions": 24533365, "cycles": 14922645}, "none": {"instructions": 617346, "cycles": 189029}, "field": {"instructions": 8887355, "cycles": 3098576}, "found": {"instructions": 14037788, "cycles": 10311844}}
+{"serve": "pure-serve", "per_branch": {"instructions": 26879511, "cycles": 12039119}, "in_credit": {"instructions": 3514348, "cycles": 1560109}, "large": {"instructions": 1410334, "cycles": 610860}, "ranks": {"instructions": 24456349, "cycles": 14897979}, "none": {"instructions": 617346, "cycles": 196117}, "field": {"instructions": 8887355, "cycles": 3172331}, "found": {"instructions": 14039644, "cycles": 10406373}}
+{"serve": "pure-serve", "per_branch": {"instructions": 26892569, "cycles": 12080612}, "in_credit": {"instructions": 3516951, "cycles": 1597121}, "large": {"instructions": 1410200, "cycles": 597235}, "ranks": {"instructions": 24460737, "cycles": 15160955}, "none": {"instructions": 617348, "cycles": 287537}, "field": {"instructions": 8887357, "cycles": 3491839}, "found": {"instructions": 14039278, "cycles": 13686055}}
+{"serve": "pure-serve", "per_branch": {"instructions": 27114295, "cycles": 12138057}, "in_credit": {"instructions": 3566857, "cycles": 1635326}, "large": {"instructions": 1410230, "cycles": 587500}, "ranks": {"instructions": 24585094, "cycles": 15147011}, "none": {"instructions": 617346, "cycles": 190446}, "field": {"instructions": 8887355, "cycles": 3105449}, "found": {"instructions": 14039323, "cycles": 10384001}}