{ "original_cases_path": "bench/runtime/cases.v", "original_cases_sha256": "5e27c976e8e1a09595e1dc4e5dadea76878c465c468e4ed82b566593e87318c4", "batch_calls": 100, "warmup_calls": 5, "cases": [ { "name": "tail-sum-10k", "definitions": "(define (sum-loop n acc) (if (= n 0) acc (sum-loop (- n 1) (+ acc n)))) (define (benchmark seed) (sum-loop (+ 10000 seed) 0))", "expected": 50005000, "source": "bench/native/tail-sum-10k.scm", "source_sha256": "df1e8571790df76822dfcbb3644983ec7ddeda7e879b2b9c92161e212a4897a1", "category": "integer-kernels", "batch_calls": 100, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 50005000, 50015001, 50025003, 50035006 ], "oracle_v2": "Existing independently checked integer oracle; unchanged workload." }, { "name": "fib-20", "definitions": "(define (fib n) (if (< n 2) n (+ (fib (- n 1)) (fib (- n 2))))) (define (benchmark seed) (fib (+ 20 seed)))", "expected": 6765, "source": "bench/native/fib-20.scm", "source_sha256": "e2a6d815132e221a5510e9291352e085427d38a8e58c06379bc7dffb1a6b51a2", "category": "integer-kernels", "batch_calls": 100, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 6765, 10946, 17711, 28657 ], "oracle_v2": "Existing independently checked integer oracle; unchanged workload." }, { "name": "closure-5k", "definitions": "(define (make-adder x) (lambda (y) (+ x y))) (define add7 (make-adder 7)) (define (closure-loop n acc) (if (= n 0) acc (closure-loop (- n 1) (add7 acc)))) (define (benchmark seed) (closure-loop (+ 5000 seed) 0))", "expected": 35000, "source": "bench/native/closure-5k.scm", "source_sha256": "c8f6912d66da8ec50834f77836a52fc5d936f5e62926154a40634e4d84089247", "category": "integer-kernels", "batch_calls": 100, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 35000, 35007, 35014, 35021 ], "oracle_v2": "Existing independently checked integer oracle; unchanged workload." }, { "name": "list-3k", "definitions": "(define (build n xs) (if (= n 0) xs (build (- n 1) (cons n xs)))) (define (walk n xs acc) (if (= n 0) acc (walk (- n 1) (cdr xs) (+ acc (car xs))))) (define (benchmark seed) (walk (+ 3000 seed) (build (+ 3000 seed) '()) 0))", "expected": 4501500, "source": "bench/native/list-3k.scm", "source_sha256": "5f9057790dc6bc4bc89e232a4a2a519bc00a1b9072c18fee0f763d1915ef7ae9", "category": "integer-kernels", "batch_calls": 100, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 4501500, 4504501, 4507503, 4510506 ], "oracle_v2": "Existing independently checked integer oracle; unchanged workload." }, { "name": "flonum-sum-2k", "category": "numeric", "definitions": "(define (benchmark seed)\n (let loop ((n (+ 2000 (* 8 seed))) (acc 0.0))\n (if (= n 0) (inexact->exact acc)\n (loop (- n 1) (+ acc (* 0.25 n))))))", "expected": 500250, "source": "bench/native/flonum-sum-2k.scm", "source_sha256": "07cd90c53ac6bc48d189ab09641786ad5f68bbcdc4514a1e67d9494d126b6eb3", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 500250, 504259, 508284, 512325 ], "oracle_v2": "Dyadic arithmetic is exact in binary: 0.25*2000*2001/2 = 500250." }, { "name": "bignum-fib-200", "category": "numeric", "definitions": "(define (benchmark seed)\n (let loop ((n (+ 200 seed)) (a 0) (b 1))\n (if (= n 0) (modulo a 1000000007)\n (loop (- n 1) b (+ a b)))))", "expected": 349361645, "source": "bench/native/bignum-fib-200.scm", "source_sha256": "2833d46950a9c2a6caf804f65d95fdb3471290f18a55f00e951f3ad4d602323d", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 349361645, 529309711, 878671356, 407981060 ], "oracle_v2": "Python arbitrary-precision Fibonacci recurrence, F(200) modulo 1000000007." }, { "name": "rational-harmonic-80", "category": "numeric", "definitions": "(define (benchmark seed)\n (let loop ((n (+ 80 seed)) (acc 0))\n (if (= n 0) (modulo (+ (numerator acc) (denominator acc)) 1000000007)\n (loop (- n 1) (+ acc (/ 1 n))))))", "expected": 383109393, "source": "bench/native/rational-harmonic-80.scm", "source_sha256": "cca96f775e2569258085b419aadfae00d1c6c7b804879723f5bce5d94c262243", "batch_calls": 8, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 383109393, 711568230, 484132627, 533288448 ], "oracle_v2": "Python Fraction computes sum(1/n,n=1..80); canonical numerator+denominator modulo prime." }, { "name": "integer-divmod-5k", "category": "numeric", "definitions": "(define (benchmark seed)\n (let loop ((n (+ 5000 seed)) (acc 0))\n (if (= n 0) acc\n (loop (- n 1) (+ acc (quotient n 7) (modulo n 7))))))", "expected": 1798926, "source": "bench/native/integer-divmod-5k.scm", "source_sha256": "e24640f67bf621201e52bcd19fad3309e6346e9099ee91375fe62461c73c0ad1", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 1798926, 1799643, 1800361, 1801080 ], "oracle_v2": "Independent integer quotient/remainder sum over 1..5000." }, { "name": "list-map-1k", "category": "collections", "definitions": "(define map-input\n (let loop ((n 1003) (xs '())) (if (= n 0) xs (loop (- n 1) (cons n xs)))))\n(define (benchmark seed) (apply + (map (lambda (x) (* x x)) (list-tail map-input seed))))", "expected": 333833500, "source": "bench/native/list-map-1k.scm", "source_sha256": "d5753a76b3be8fd3559cc2d5906ec149fd777f67457acce00f3c05ad3495162c", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 336845514, 336845513, 336845509, 336845500 ], "oracle_v2": "Sum of squares n(n+1)(2n+1)/6; input constructed before timing." }, { "name": "list-reverse-2k", "category": "collections", "definitions": "(define reverse-input\n (let loop ((n 2003) (xs '())) (if (= n 0) xs (loop (- n 1) (cons n xs)))))\n(define (benchmark seed)\n (let loop ((xs (reverse (list-tail reverse-input seed))) (i 1) (acc 0))\n (if (null? xs) acc (loop (cdr xs) (+ i 1) (+ acc (* i (car xs)))))))", "expected": 1335334000, "source": "bench/native/list-reverse-2k.scm", "source_sha256": "6b31214d79475bc7b4ab0dad036ee32cb2b21463c5915a022c417848c9012f1c", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 1341349010, 1341347007, 1341343003, 1341337000 ], "oracle_v2": "Weighted descending list sum: sum(i*(2001-i),i=1..2000)." }, { "name": "vector-update-2k", "category": "collections", "definitions": "(define (benchmark seed)\n (let ((limit (+ 2000 seed)) (v (make-vector 256 0)))\n (let fill ((n 0))\n (if (< n limit)\n (begin (vector-set! v (modulo n 256) (+ (vector-ref v (modulo n 256)) n)) (fill (+ n 1)))))\n (let sum ((i 0) (acc 0))\n (if (= i 256) acc (sum (+ i 1) (+ acc (vector-ref v i)))))))", "expected": 1999000, "source": "bench/native/vector-update-2k.scm", "source_sha256": "afb238d687bffafdfbe709fe66e170f58e27cf8fbe7fa49af69218d42a48182d", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 1999000, 2001000, 2003001, 2005003 ], "oracle_v2": "Every n=0..1999 is added exactly once to one vector cell." }, { "name": "bytevector-fill-4k", "category": "collections", "definitions": "(define (benchmark seed)\n (let ((size (+ 512 (* 2 seed))) (limit (+ 4096 seed)))\n (let ((v (make-bytevector size 0)))\n (let fill ((n 0))\n (if (< n limit)\n (begin (bytevector-u8-set! v (modulo n size) (modulo n 256)) (fill (+ n 1)))))\n (let sum ((i 0) (acc 0))\n (if (= i size) acc (sum (+ i 1) (+ acc (bytevector-u8-ref v i))))))))", "expected": 65280, "source": "bench/native/bytevector-fill-4k.scm", "source_sha256": "74b8d64274804ac0a9a09c906ae42804e78896e7621f5506606f657a2940057b", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "(use-modules (rnrs bytevectors))", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 65280, 65535, 65790, 66045 ], "oracle_v2": "Final cells contain bytes0..255 twice; sum=65280." }, { "name": "hashtable-count-1k", "category": "collections", "definitions": "(define (benchmark seed)\n (let ((limit (+ 1000 seed)) (h (make-eqv-hashtable)))\n (let fill ((n 0))\n (if (< n limit)\n (begin (hashtable-set! h (modulo n 256) (+ 1 (hashtable-ref h (modulo n 256) 0))) (fill (+ n 1)))))\n (let sum ((i 0) (acc 0))\n (if (= i 256) acc (sum (+ i 1) (+ acc (hashtable-ref h i 0)))))))", "expected": 1000, "source": "bench/native/hashtable-count-1k.scm", "source_sha256": "22f328df053a0f3290c7f662ca8e0ff0917fa26cc1c3a69576336937b9cc0068", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "(import (rnrs hashtables))", "guile_setup": "(use-modules (rnrs hashtables))", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 1000, 1001, 1002, 1003 ], "oracle_v2": "Each of1000 insert/update operations increments exactly one counter." }, { "name": "string-build-1k", "category": "text-ports", "definitions": "(define (benchmark seed)\n (let loop ((n (+ 128 seed)) (s \"\"))\n (if (= n 0) (+ (string-length s) (char->integer (string-ref s 0)))\n (loop (- n 1) (string-append s \"abcdefgh\")))))", "expected": 1121, "source": "bench/native/string-build-1k.scm", "source_sha256": "854d0202142cb775c5048908fed0df0be53ba2993d1dfe90b11466f805c458c4", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 1121, 1129, 1137, 1145 ], "oracle_v2": "128 eight-character chunks, plus ASCII code for a." }, { "name": "string-scan-4k", "category": "text-ports", "definitions": "(define ascii-input (make-string 4099 #\\a))\n(define (benchmark seed)\n (let ((limit (+ 4096 seed)))\n (let loop ((n 0) (acc 0))\n (if (= n limit) acc\n (loop (+ n 1) (+ acc (char->integer (string-ref ascii-input n))))))))", "expected": 397312, "source": "bench/native/string-scan-4k.scm", "source_sha256": "3545f6d933c4c0958060c55987b2848a78e0aa5a80fc1764cf241ba4ee3ff9b1", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 397312, 397409, 397506, 397603 ], "oracle_v2": "4096 copies of U+0061." }, { "name": "unicode-scan-1k", "category": "text-ports", "definitions": "(define unicode-input (make-string 1027 #\\λ))\n(define (benchmark seed)\n (let ((limit (+ 1024 seed)))\n (let loop ((n 0) (acc 0))\n (if (= n limit) acc\n (loop (+ n 1) (+ acc (char->integer (string-ref unicode-input n))))))))", "expected": 977920, "source": "bench/native/unicode-scan-1k.scm", "source_sha256": "5455344e56c929f32a449bfc976e4b2f800e6eb64b8f8e42df5c5e3e7b2fdd6b", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 977920, 978875, 979830, 980785 ], "oracle_v2": "1024 copies of U+03BB, counted as characters rather than UTF-8 bytes." }, { "name": "datum-read-write-200", "category": "text-ports", "definitions": "(define datum-text \"(1 2 (3 4) \\\"abc\\\" #(5 6))\")\n(define (benchmark seed)\n (let loop ((n (+ 200 seed)) (acc 0))\n (if (= n 0) acc\n (let* ((input (open-input-string datum-text)) (datum (read input)) (output (open-output-string)))\n (write datum output)\n (let ((text (get-output-string output)))\n (close-input-port input) (close-output-port output)\n (if (string=? text datum-text) (loop (- n 1) (+ acc (string-length text))) -1))))))", "expected": 4800, "source": "bench/native/datum-read-write-200.scm", "source_sha256": "7e35485f1ec0c746bbb35d6d5edc7d2bb90e914ed90073a29702fe05cafe29e3", "batch_calls": 8, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 4800, 4824, 4848, 4872 ], "oracle_v2": "Canonical ASCII datum must round-trip exactly; accumulate200*its known character length." }, { "name": "closure-mutate-2k", "category": "procedures-control", "definitions": "(define (make-counter) (let ((n 0)) (lambda () (set! n (+ n 1)) n)))\n(define (benchmark seed)\n (let ((counter (make-counter)))\n (let loop ((n (+ 2000 seed)) (acc 0))\n (if (= n 0) acc (loop (- n 1) (+ acc (counter)))))))", "expected": 2001000, "source": "bench/native/closure-mutate-2k.scm", "source_sha256": "e9ef3b414659db138755426cbf28563678f5b2a818a4d6b21af334a4719e442c", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 2001000, 2003001, 2005003, 2007006 ], "oracle_v2": "Fresh counter per invocation returns1..2000; arithmetic-series sum." }, { "name": "higher-order-2k", "category": "procedures-control", "definitions": "(define (increment x) (+ x 1))\n(define (twice f x) (f (f x)))\n(define (benchmark seed)\n (let loop ((n (+ 2000 seed)) (x 0))\n (if (= n 0) x (loop (- n 1) (twice increment x)))))", "expected": 4000, "source": "bench/native/higher-order-2k.scm", "source_sha256": "a8874d038559ed17b296fe3b6c995cccda3b7d617e55963d32d2e780757694f9", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 4000, 4002, 4004, 4006 ], "oracle_v2": "2000 higher-order calls each increment twice." }, { "name": "callcc-escape-1k", "category": "procedures-control", "definitions": "(define (benchmark seed)\n (call/cc (lambda (done)\n (let loop ((n (+ 1000 seed)) (acc 0))\n (if (= n 0) (done acc) (loop (- n 1) (+ acc n)))))))", "expected": 500500, "source": "bench/native/callcc-escape-1k.scm", "source_sha256": "a1e9b511342a84602b9bf60348ecbe61e94b6980c0e5e50312a7bf6c1ac41301", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 500500, 501501, 502503, 503506 ], "oracle_v2": "Continuation escapes with sum1..1000." }, { "name": "values-consumer-1k", "category": "procedures-control", "definitions": "(define (benchmark seed)\n (let loop ((n (+ 1000 seed)) (acc 0))\n (if (= n 0) acc\n (loop (- n 1) (+ acc (call-with-values (lambda () (values n (+ n 1))) (lambda (a b) (+ a b))))))))", "expected": 1002000, "source": "bench/native/values-consumer-1k.scm", "source_sha256": "d0ccfa66503d420c4bd2bfeaa195823c6be71f950c0fd61c1fa1e3cf968bfb2e", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 1002000, 1004003, 1006008, 1008015 ], "oracle_v2": "Sum of2*n+1 for n=1..1000, through a two-value producer and consumer." }, { "name": "dynamic-wind-200", "category": "procedures-control", "definitions": "(define (benchmark seed)\n (let ((state 0))\n (let loop ((n (+ 200 seed)))\n (if (= n 0) state\n (begin\n (dynamic-wind (lambda () (set! state (+ state 1)))\n (lambda () (set! state (+ state 2)))\n (lambda () (set! state (+ state 4))))\n (loop (- n 1)))))))", "expected": 1400, "source": "bench/native/dynamic-wind-200.scm", "source_sha256": "c7924c136577a5f3faa651eb48013acb781be97b1638616d665e29fa342662ba", "batch_calls": 12, "warmup_calls": 5, "vile_setup": "", "guile_setup": "", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 1400, 1407, 1414, 1421 ], "oracle_v2": "Before/body/after add1+2+4 on each of200 dynamic extents." }, { "name": "goops-dispatch-1k", "category": "goops", "definitions": "(define-class () (x #:init-value 7))\n(define-class () (y #:init-value 3))\n(define-method (bench-score (p )) (slot-ref p 'x))\n(define-method (bench-score (p )) (+ (next-method) (slot-ref p 'y)))\n(define bench-object (make ))\n(define (benchmark seed)\n (let loop ((n (+ 1000 seed)) (acc 0))\n (if (= n 0) acc (loop (- n 1) (+ acc (bench-score bench-object))))))", "expected": 10000, "source": "bench/native/goops-dispatch-1k.scm", "source_sha256": "1514d05059e020bb5b6efc8d33e3407b957368749c75e47512f36bf3abb310f7", "batch_calls": 8, "warmup_calls": 5, "vile_setup": "(import (vile goops))", "guile_setup": "(use-modules (oop goops))", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 10000, 10010, 10020, 10030 ], "oracle_v2": "Derived method returns7+3 through next-method and slot reads;1000 calls." }, { "name": "goops-allocate-200", "category": "goops", "definitions": "(define-class () (x #:init-keyword #:x))\n(define (benchmark seed)\n (let loop ((n (+ 200 seed)) (acc 0))\n (if (= n 0) acc\n (let ((item (make #:x n)))\n (loop (- n 1) (+ acc (slot-ref item 'x)))))))", "expected": 20100, "source": "bench/native/goops-allocate-200.scm", "source_sha256": "cbe3d8d958ee177bc018218039ddc2baed9ab067dee74243b4c4314c9baa303f", "batch_calls": 8, "warmup_calls": 5, "vile_setup": "(import (vile goops))", "guile_setup": "(use-modules (oop goops))", "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.", "expected_by_seed": [ 20100, 20301, 20503, 20706 ], "oracle_v2": "200 fresh objects with x=1..200; arithmetic-series sum of read slots." } ], "schema_version": 3, "seed_values": [ 0, 1, 2, 3 ] }