diff options
| author | eunhhu <[email protected]> | 2026-10-13 05:08:06 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-13 05:08:06 +0100 |
| commit | 41a2e5c65dc92a0c47212efcb7f5dfef8443f9b2 (patch) | |
| tree | 5c3354e41a5f15b253d333de24dd1bae4037c77b /research/experiments/044-specs/2026-10-13-sha256.jsonl | |
| parent | 5a44af0308017f4e7b54a8ff6ccdc797b5d94015 (diff) | |
| download | pure-41a2e5c65dc92a0c47212efcb7f5dfef8443f9b2.tar.gz pure-41a2e5c65dc92a0c47212efcb7f5dfef8443f9b2.zip | |
Research 140, 027's stage 1 measured: SHA-256 written in aup (its examples/sha256.aup) right for FIPS 180-2's examples and 138 more messages on every path, in make check against hashlib; 52 lines against Python's 28 (the bar missed: no formatting, no bytes joined or sliced, no lists as values, moved into stage 2), 176 times C's time and 0.43 of plain Python's (1,591 ns a byte; a block's 19,129 instructions, 39% of them the inlined fn's literals not folded); 044's check, time.c against the same algorithm in C (digests compared first) and the Python reference
Diffstat (limited to 'research/experiments/044-specs/2026-10-13-sha256.jsonl')
| -rw-r--r-- | research/experiments/044-specs/2026-10-13-sha256.jsonl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/research/experiments/044-specs/2026-10-13-sha256.jsonl b/research/experiments/044-specs/2026-10-13-sha256.jsonl new file mode 100644 index 0000000..b8d3c7c --- /dev/null +++ b/research/experiments/044-specs/2026-10-13-sha256.jsonl @@ -0,0 +1,6 @@ +{"size":65536,"jit":"0","batch":"0","c_ns_per_byte":9.035,"pure_ns_per_byte":1592.087,"ratio":176.2,"instructions":19606989,"instructions_per_block":19129} +{"size":65536,"jit":"0","batch":"","c_ns_per_byte":9.049,"pure_ns_per_byte":1589.872,"ratio":175.7,"instructions":19606989,"instructions_per_block":19129} +{"size":65536,"jit":"all","batch":"","c_ns_per_byte":9.031,"pure_ns_per_byte":1592.166,"ratio":176.3,"instructions":19606989,"instructions_per_block":19129} +{"size":65536,"jit":"","batch":"","c_ns_per_byte":9.051,"pure_ns_per_byte":1591.118,"ratio":175.8,"instructions":19606989,"instructions_per_block":19129} +{"size":65536,"python_ns_per_byte":3708.3} +{"messages":142,"right":{"batches":142,"rounds":142,"all":142,"default":142},"aup_lines":52,"aup_brace_lines":7,"python_lines":28} |
