vile / bench / native / cases.json
495 lines · 495 sloc · 22.48 KB · 76646891b77a3d5c6af4a1e42b122cd61dc1654b
Raw
1{
2 "original_cases_path": "bench/runtime/cases.v",
3 "original_cases_sha256": "5e27c976e8e1a09595e1dc4e5dadea76878c465c468e4ed82b566593e87318c4",
4 "batch_calls": 100,
5 "warmup_calls": 5,
6 "cases": [
7 {
8 "name": "tail-sum-10k",
9 "definitions": "(define (sum-loop n acc) (if (= n 0) acc (sum-loop (- n 1) (+ acc n)))) (define (benchmark seed) (sum-loop (+ 10000 seed) 0))",
10 "expected": 50005000,
11 "source": "bench/native/tail-sum-10k.scm",
12 "source_sha256": "df1e8571790df76822dfcbb3644983ec7ddeda7e879b2b9c92161e212a4897a1",
13 "category": "integer-kernels",
14 "batch_calls": 100,
15 "warmup_calls": 5,
16 "vile_setup": "",
17 "guile_setup": "",
18 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
19 "expected_by_seed": [
20 50005000,
21 50015001,
22 50025003,
23 50035006
24 ],
25 "oracle_v2": "Existing independently checked integer oracle; unchanged workload."
26 },
27 {
28 "name": "fib-20",
29 "definitions": "(define (fib n) (if (< n 2) n (+ (fib (- n 1)) (fib (- n 2))))) (define (benchmark seed) (fib (+ 20 seed)))",
30 "expected": 6765,
31 "source": "bench/native/fib-20.scm",
32 "source_sha256": "e2a6d815132e221a5510e9291352e085427d38a8e58c06379bc7dffb1a6b51a2",
33 "category": "integer-kernels",
34 "batch_calls": 100,
35 "warmup_calls": 5,
36 "vile_setup": "",
37 "guile_setup": "",
38 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
39 "expected_by_seed": [
40 6765,
41 10946,
42 17711,
43 28657
44 ],
45 "oracle_v2": "Existing independently checked integer oracle; unchanged workload."
46 },
47 {
48 "name": "closure-5k",
49 "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))",
50 "expected": 35000,
51 "source": "bench/native/closure-5k.scm",
52 "source_sha256": "c8f6912d66da8ec50834f77836a52fc5d936f5e62926154a40634e4d84089247",
53 "category": "integer-kernels",
54 "batch_calls": 100,
55 "warmup_calls": 5,
56 "vile_setup": "",
57 "guile_setup": "",
58 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
59 "expected_by_seed": [
60 35000,
61 35007,
62 35014,
63 35021
64 ],
65 "oracle_v2": "Existing independently checked integer oracle; unchanged workload."
66 },
67 {
68 "name": "list-3k",
69 "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))",
70 "expected": 4501500,
71 "source": "bench/native/list-3k.scm",
72 "source_sha256": "5f9057790dc6bc4bc89e232a4a2a519bc00a1b9072c18fee0f763d1915ef7ae9",
73 "category": "integer-kernels",
74 "batch_calls": 100,
75 "warmup_calls": 5,
76 "vile_setup": "",
77 "guile_setup": "",
78 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
79 "expected_by_seed": [
80 4501500,
81 4504501,
82 4507503,
83 4510506
84 ],
85 "oracle_v2": "Existing independently checked integer oracle; unchanged workload."
86 },
87 {
88 "name": "flonum-sum-2k",
89 "category": "numeric",
90 "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))))))",
91 "expected": 500250,
92 "source": "bench/native/flonum-sum-2k.scm",
93 "source_sha256": "07cd90c53ac6bc48d189ab09641786ad5f68bbcdc4514a1e67d9494d126b6eb3",
94 "batch_calls": 12,
95 "warmup_calls": 5,
96 "vile_setup": "",
97 "guile_setup": "",
98 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
99 "expected_by_seed": [
100 500250,
101 504259,
102 508284,
103 512325
104 ],
105 "oracle_v2": "Dyadic arithmetic is exact in binary: 0.25*2000*2001/2 = 500250."
106 },
107 {
108 "name": "bignum-fib-200",
109 "category": "numeric",
110 "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)))))",
111 "expected": 349361645,
112 "source": "bench/native/bignum-fib-200.scm",
113 "source_sha256": "2833d46950a9c2a6caf804f65d95fdb3471290f18a55f00e951f3ad4d602323d",
114 "batch_calls": 12,
115 "warmup_calls": 5,
116 "vile_setup": "",
117 "guile_setup": "",
118 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
119 "expected_by_seed": [
120 349361645,
121 529309711,
122 878671356,
123 407981060
124 ],
125 "oracle_v2": "Python arbitrary-precision Fibonacci recurrence, F(200) modulo 1000000007."
126 },
127 {
128 "name": "rational-harmonic-80",
129 "category": "numeric",
130 "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))))))",
131 "expected": 383109393,
132 "source": "bench/native/rational-harmonic-80.scm",
133 "source_sha256": "cca96f775e2569258085b419aadfae00d1c6c7b804879723f5bce5d94c262243",
134 "batch_calls": 8,
135 "warmup_calls": 5,
136 "vile_setup": "",
137 "guile_setup": "",
138 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
139 "expected_by_seed": [
140 383109393,
141 711568230,
142 484132627,
143 533288448
144 ],
145 "oracle_v2": "Python Fraction computes sum(1/n,n=1..80); canonical numerator+denominator modulo prime."
146 },
147 {
148 "name": "integer-divmod-5k",
149 "category": "numeric",
150 "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))))))",
151 "expected": 1798926,
152 "source": "bench/native/integer-divmod-5k.scm",
153 "source_sha256": "e24640f67bf621201e52bcd19fad3309e6346e9099ee91375fe62461c73c0ad1",
154 "batch_calls": 12,
155 "warmup_calls": 5,
156 "vile_setup": "",
157 "guile_setup": "",
158 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
159 "expected_by_seed": [
160 1798926,
161 1799643,
162 1800361,
163 1801080
164 ],
165 "oracle_v2": "Independent integer quotient/remainder sum over 1..5000."
166 },
167 {
168 "name": "list-map-1k",
169 "category": "collections",
170 "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))))",
171 "expected": 333833500,
172 "source": "bench/native/list-map-1k.scm",
173 "source_sha256": "d5753a76b3be8fd3559cc2d5906ec149fd777f67457acce00f3c05ad3495162c",
174 "batch_calls": 12,
175 "warmup_calls": 5,
176 "vile_setup": "",
177 "guile_setup": "",
178 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
179 "expected_by_seed": [
180 336845514,
181 336845513,
182 336845509,
183 336845500
184 ],
185 "oracle_v2": "Sum of squares n(n+1)(2n+1)/6; input constructed before timing."
186 },
187 {
188 "name": "list-reverse-2k",
189 "category": "collections",
190 "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)))))))",
191 "expected": 1335334000,
192 "source": "bench/native/list-reverse-2k.scm",
193 "source_sha256": "6b31214d79475bc7b4ab0dad036ee32cb2b21463c5915a022c417848c9012f1c",
194 "batch_calls": 12,
195 "warmup_calls": 5,
196 "vile_setup": "",
197 "guile_setup": "",
198 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
199 "expected_by_seed": [
200 1341349010,
201 1341347007,
202 1341343003,
203 1341337000
204 ],
205 "oracle_v2": "Weighted descending list sum: sum(i*(2001-i),i=1..2000)."
206 },
207 {
208 "name": "vector-update-2k",
209 "category": "collections",
210 "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)))))))",
211 "expected": 1999000,
212 "source": "bench/native/vector-update-2k.scm",
213 "source_sha256": "afb238d687bffafdfbe709fe66e170f58e27cf8fbe7fa49af69218d42a48182d",
214 "batch_calls": 12,
215 "warmup_calls": 5,
216 "vile_setup": "",
217 "guile_setup": "",
218 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
219 "expected_by_seed": [
220 1999000,
221 2001000,
222 2003001,
223 2005003
224 ],
225 "oracle_v2": "Every n=0..1999 is added exactly once to one vector cell."
226 },
227 {
228 "name": "bytevector-fill-4k",
229 "category": "collections",
230 "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))))))))",
231 "expected": 65280,
232 "source": "bench/native/bytevector-fill-4k.scm",
233 "source_sha256": "74b8d64274804ac0a9a09c906ae42804e78896e7621f5506606f657a2940057b",
234 "batch_calls": 12,
235 "warmup_calls": 5,
236 "vile_setup": "",
237 "guile_setup": "(use-modules (rnrs bytevectors))",
238 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
239 "expected_by_seed": [
240 65280,
241 65535,
242 65790,
243 66045
244 ],
245 "oracle_v2": "Final cells contain bytes0..255 twice; sum=65280."
246 },
247 {
248 "name": "hashtable-count-1k",
249 "category": "collections",
250 "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)))))))",
251 "expected": 1000,
252 "source": "bench/native/hashtable-count-1k.scm",
253 "source_sha256": "22f328df053a0f3290c7f662ca8e0ff0917fa26cc1c3a69576336937b9cc0068",
254 "batch_calls": 12,
255 "warmup_calls": 5,
256 "vile_setup": "(import (rnrs hashtables))",
257 "guile_setup": "(use-modules (rnrs hashtables))",
258 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
259 "expected_by_seed": [
260 1000,
261 1001,
262 1002,
263 1003
264 ],
265 "oracle_v2": "Each of1000 insert/update operations increments exactly one counter."
266 },
267 {
268 "name": "string-build-1k",
269 "category": "text-ports",
270 "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\")))))",
271 "expected": 1121,
272 "source": "bench/native/string-build-1k.scm",
273 "source_sha256": "854d0202142cb775c5048908fed0df0be53ba2993d1dfe90b11466f805c458c4",
274 "batch_calls": 12,
275 "warmup_calls": 5,
276 "vile_setup": "",
277 "guile_setup": "",
278 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
279 "expected_by_seed": [
280 1121,
281 1129,
282 1137,
283 1145
284 ],
285 "oracle_v2": "128 eight-character chunks, plus ASCII code for a."
286 },
287 {
288 "name": "string-scan-4k",
289 "category": "text-ports",
290 "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))))))))",
291 "expected": 397312,
292 "source": "bench/native/string-scan-4k.scm",
293 "source_sha256": "3545f6d933c4c0958060c55987b2848a78e0aa5a80fc1764cf241ba4ee3ff9b1",
294 "batch_calls": 12,
295 "warmup_calls": 5,
296 "vile_setup": "",
297 "guile_setup": "",
298 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
299 "expected_by_seed": [
300 397312,
301 397409,
302 397506,
303 397603
304 ],
305 "oracle_v2": "4096 copies of U+0061."
306 },
307 {
308 "name": "unicode-scan-1k",
309 "category": "text-ports",
310 "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))))))))",
311 "expected": 977920,
312 "source": "bench/native/unicode-scan-1k.scm",
313 "source_sha256": "5455344e56c929f32a449bfc976e4b2f800e6eb64b8f8e42df5c5e3e7b2fdd6b",
314 "batch_calls": 12,
315 "warmup_calls": 5,
316 "vile_setup": "",
317 "guile_setup": "",
318 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
319 "expected_by_seed": [
320 977920,
321 978875,
322 979830,
323 980785
324 ],
325 "oracle_v2": "1024 copies of U+03BB, counted as characters rather than UTF-8 bytes."
326 },
327 {
328 "name": "datum-read-write-200",
329 "category": "text-ports",
330 "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))))))",
331 "expected": 4800,
332 "source": "bench/native/datum-read-write-200.scm",
333 "source_sha256": "7e35485f1ec0c746bbb35d6d5edc7d2bb90e914ed90073a29702fe05cafe29e3",
334 "batch_calls": 8,
335 "warmup_calls": 5,
336 "vile_setup": "",
337 "guile_setup": "",
338 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
339 "expected_by_seed": [
340 4800,
341 4824,
342 4848,
343 4872
344 ],
345 "oracle_v2": "Canonical ASCII datum must round-trip exactly; accumulate200*its known character length."
346 },
347 {
348 "name": "closure-mutate-2k",
349 "category": "procedures-control",
350 "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)))))))",
351 "expected": 2001000,
352 "source": "bench/native/closure-mutate-2k.scm",
353 "source_sha256": "e9ef3b414659db138755426cbf28563678f5b2a818a4d6b21af334a4719e442c",
354 "batch_calls": 12,
355 "warmup_calls": 5,
356 "vile_setup": "",
357 "guile_setup": "",
358 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
359 "expected_by_seed": [
360 2001000,
361 2003001,
362 2005003,
363 2007006
364 ],
365 "oracle_v2": "Fresh counter per invocation returns1..2000; arithmetic-series sum."
366 },
367 {
368 "name": "higher-order-2k",
369 "category": "procedures-control",
370 "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)))))",
371 "expected": 4000,
372 "source": "bench/native/higher-order-2k.scm",
373 "source_sha256": "a8874d038559ed17b296fe3b6c995cccda3b7d617e55963d32d2e780757694f9",
374 "batch_calls": 12,
375 "warmup_calls": 5,
376 "vile_setup": "",
377 "guile_setup": "",
378 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
379 "expected_by_seed": [
380 4000,
381 4002,
382 4004,
383 4006
384 ],
385 "oracle_v2": "2000 higher-order calls each increment twice."
386 },
387 {
388 "name": "callcc-escape-1k",
389 "category": "procedures-control",
390 "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)))))))",
391 "expected": 500500,
392 "source": "bench/native/callcc-escape-1k.scm",
393 "source_sha256": "a1e9b511342a84602b9bf60348ecbe61e94b6980c0e5e50312a7bf6c1ac41301",
394 "batch_calls": 12,
395 "warmup_calls": 5,
396 "vile_setup": "",
397 "guile_setup": "",
398 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
399 "expected_by_seed": [
400 500500,
401 501501,
402 502503,
403 503506
404 ],
405 "oracle_v2": "Continuation escapes with sum1..1000."
406 },
407 {
408 "name": "values-consumer-1k",
409 "category": "procedures-control",
410 "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))))))))",
411 "expected": 1002000,
412 "source": "bench/native/values-consumer-1k.scm",
413 "source_sha256": "d0ccfa66503d420c4bd2bfeaa195823c6be71f950c0fd61c1fa1e3cf968bfb2e",
414 "batch_calls": 12,
415 "warmup_calls": 5,
416 "vile_setup": "",
417 "guile_setup": "",
418 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
419 "expected_by_seed": [
420 1002000,
421 1004003,
422 1006008,
423 1008015
424 ],
425 "oracle_v2": "Sum of2*n+1 for n=1..1000, through a two-value producer and consumer."
426 },
427 {
428 "name": "dynamic-wind-200",
429 "category": "procedures-control",
430 "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)))))))",
431 "expected": 1400,
432 "source": "bench/native/dynamic-wind-200.scm",
433 "source_sha256": "c7924c136577a5f3faa651eb48013acb781be97b1638616d665e29fa342662ba",
434 "batch_calls": 12,
435 "warmup_calls": 5,
436 "vile_setup": "",
437 "guile_setup": "",
438 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
439 "expected_by_seed": [
440 1400,
441 1407,
442 1414,
443 1421
444 ],
445 "oracle_v2": "Before/body/after add1+2+4 on each of200 dynamic extents."
446 },
447 {
448 "name": "goops-dispatch-1k",
449 "category": "goops",
450 "definitions": "(define-class <bench-base> () (x #:init-value 7))\n(define-class <bench-child> (<bench-base>) (y #:init-value 3))\n(define-method (bench-score (p <bench-base>)) (slot-ref p 'x))\n(define-method (bench-score (p <bench-child>)) (+ (next-method) (slot-ref p 'y)))\n(define bench-object (make <bench-child>))\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))))))",
451 "expected": 10000,
452 "source": "bench/native/goops-dispatch-1k.scm",
453 "source_sha256": "1514d05059e020bb5b6efc8d33e3407b957368749c75e47512f36bf3abb310f7",
454 "batch_calls": 8,
455 "warmup_calls": 5,
456 "vile_setup": "(import (vile goops))",
457 "guile_setup": "(use-modules (oop goops))",
458 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
459 "expected_by_seed": [
460 10000,
461 10010,
462 10020,
463 10030
464 ],
465 "oracle_v2": "Derived method returns7+3 through next-method and slot reads;1000 calls."
466 },
467 {
468 "name": "goops-allocate-200",
469 "category": "goops",
470 "definitions": "(define-class <bench-item> () (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 <bench-item> #:x n)))\n (loop (- n 1) (+ acc (slot-ref item 'x)))))))",
471 "expected": 20100,
472 "source": "bench/native/goops-allocate-200.scm",
473 "source_sha256": "cbe3d8d958ee177bc018218039ddc2baed9ab067dee74243b4c4314c9baa303f",
474 "batch_calls": 8,
475 "warmup_calls": 5,
476 "vile_setup": "(import (vile goops))",
477 "guile_setup": "(use-modules (oop goops))",
478 "oracle": "catalog.py independently computes all four expected_by_seed values; run-batch checks each seed and returns the fixed success marker.",
479 "expected_by_seed": [
480 20100,
481 20301,
482 20503,
483 20706
484 ],
485 "oracle_v2": "200 fresh objects with x=1..200; arithmetic-series sum of read slots."
486 }
487 ],
488 "schema_version": 3,
489 "seed_values": [
490 0,
491 1,
492 2,
493 3
494 ]
495}
496