$ ruby program.rb

Case
    1/9

    Source

    program.rb, on disk

    Syntax tree

    Bytecode

    Inside the ruby program

    activeunusedhover or tap a box for detailslowbugs matterdangerous if misused
    Components inside the ruby program Components grouped into departments, with the operating system on the left. Numbered arrows show the messages of the current step.

    Hardware typical x86-64

    CPU: waiting
    Hardware RAM regions on the left, the CPU with its registers and caches on the right, disk and screen below. Blue arrows show data moving for each message.

    Messages in this step

    ๐Ÿ Speed race: same benchmark, three ways

    Times from the benchmark table in Spinel's README on the master branch, fetched 26 September 2026: CRuby 4.0.4 run with --disable-gems, each time the mean of five runs (perf stat -r 5). The race is slowed down so you can watch it.

    Interpreterruby
    0 ms
    YJITruby --yjit
    0 ms
    Spinel./program
    0 ms

    Real speedups depend on the program and the machine. The README is updated often, so its current table may differ: see the Spinel README benchmarks.