aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/043-programs/2026-10-09-programs.jsonl
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-09 15:56:48 +0100
committereunhhu <[email protected]>2026-10-09 15:56:48 +0100
commit75aa418924fbaf510174713aa007482169bbd114 (patch)
tree23d852a9cbb53bc3b7b6c4ee2700f0375399a881 /research/experiments/043-programs/2026-10-09-programs.jsonl
parentf47f0caa14889013436438f2bcb2c482a58e630b (diff)
downloadpure-75aa418924fbaf510174713aa007482169bbd114.tar.gz
pure-75aa418924fbaf510174713aa007482169bbd114.zip
043 programs (research 139, in progress): a batch loop's body as the program a load would make, interpreted a step at a time (scalar steps by the executor's rules, kernel steps over four-byte lane registers fixed at load with two buffers each, a list's cells once a batch, a deferred set after its distance check), against the same kernels called straight and natural.h's C: matmul 10.36 ms (straight 7.17; the executor's 25.8 with 3.6 of making), knapsack 4.16 (straight 3.76; the executor's 8.19); 139's question, bars and b20's split (matmul's 11.1 ms of interpretation, knapsack's 1.9)
Diffstat (limited to 'research/experiments/043-programs/2026-10-09-programs.jsonl')
-rw-r--r--research/experiments/043-programs/2026-10-09-programs.jsonl22
1 files changed, 22 insertions, 0 deletions
diff --git a/research/experiments/043-programs/2026-10-09-programs.jsonl b/research/experiments/043-programs/2026-10-09-programs.jsonl
new file mode 100644
index 0000000..12c5ebb
--- /dev/null
+++ b/research/experiments/043-programs/2026-10-09-programs.jsonl
@@ -0,0 +1,22 @@
+{"turn":1,"body":"matmul","way":"program","ms":10.360,"same":true}
+{"turn":1,"body":"matmul","way":"direct","ms":7.172,"same":true}
+{"turn":1,"body":"matmul","way":"c","ms":5.093,"same":true}
+{"turn":1,"body":"knapsack","way":"program","ms":4.155,"same":true}
+{"turn":1,"body":"knapsack","way":"direct","ms":3.756,"same":true}
+{"turn":1,"body":"knapsack","way":"c","ms":6.238,"same":true}
+{"turn":2,"body":"matmul","way":"program","ms":10.360,"same":true}
+{"turn":2,"body":"matmul","way":"direct","ms":7.172,"same":true}
+{"turn":2,"body":"matmul","way":"c","ms":4.940,"same":true}
+{"turn":2,"body":"knapsack","way":"program","ms":4.185,"same":true}
+{"turn":2,"body":"knapsack","way":"direct","ms":3.771,"same":true}
+{"turn":2,"body":"knapsack","way":"c","ms":6.246,"same":true}
+{"turn":3,"body":"matmul","way":"program","ms":10.357,"same":true}
+{"turn":3,"body":"matmul","way":"direct","ms":7.131,"same":true}
+{"turn":3,"body":"matmul","way":"c","ms":5.080,"same":true}
+{"turn":3,"body":"knapsack","way":"program","ms":4.148,"same":true}
+{"turn":3,"body":"knapsack","way":"direct","ms":3.756,"same":true}
+{"turn":3,"body":"knapsack","way":"c","ms":6.228,"same":true}
+{"body":"matmul","way":"program","rounds":3,"instructions":258225660,"cycles":87893964}
+{"body":"matmul","way":"direct","rounds":3,"instructions":172357595,"cycles":64793489}
+{"body":"knapsack","way":"program","rounds":3,"instructions":150648952,"cycles":45677427}
+{"body":"knapsack","way":"direct","rounds":3,"instructions":140963637,"cycles":42315130}