Commit c6de0c16

c6de0c16d19fMerged

Yukihiro "Matz" Matsumoto <[email protected]> · 7 months ago · 10 files · +10 added

Description

feat: add 10 benchmarks to test suite (84 total)

ackermann (66x), gcbench (9x), matmul (39x), partial_sums (15x), mandelbrot (49x), tak (23x), tarai (27x), life (743x), sudoku (21x), so_lists (17x). gcbench reduced to depth 12 for test timeout.

Co-Authored-By: Claude Opus 4.6 (1M context) [email protected]

Details

Commit
c6de0c16d19f
Parent
e1b306a2fd68

test/bm_ackermann.rbaddedView file

1+def ack(m, n)
2+ if m == 0
3+ n + 1
4+ elsif n == 0
5+ ack(m - 1, 1)
6+ else
7+ ack(m - 1, ack(m, n - 1))
8+ end
9+end
10+
11+puts ack(3, 9)
12+puts "done"