Gauche (Scheme) 0.14 s VMバイトコード実行 ※ マンデルブロ集合の描画時間(同一マシン・5回計測の中央値。timeコマンドの5回計測のうちの1回の生ログ出力) $ time gosh examples/mandelbrot.lisp ---------------------+-+@---------- 0.15s user 0.02s system 132% cpu 0.123 total #5回計測のうちの 1回 $ time ruby bin/repl.rb examples/mandelbrot.lisp ---------------------+-+@---------- 11.09s user 0.10s system 98% cpu 11.398 total #5回計測のうちの 1回
1.55 倍速 Gauche 目標・実用言語 0.14 s 約 51 倍の差 timeコマンド生ログ ❯ time ruby bin/repl.rb examples/mandelbrot.lisp # 最適化前 (中略) ruby bin/repl.rb lisp 11.09s user 0.10s system 98% cpu 11.398 total ❯ time ruby bin/repl.rb examples/mandelbrot.lisp # 最適化後 (中略) ruby bin/repl.rb lisp 7.25s user 0.08s system 97% cpu 7.535 total ❯ time gosh examples/mandelbrot.lisp # Gauche (中略) gosh examples/mandelbrot.lisp 0.15s user 0.02s system 132% cpu 0.123 total 【公式記録】同一マシン・5回計測の中央値 残る圧倒的な速度差のヒントは、RubyKaigiで手に入れた 冒険の書にあった 16 アディショナルタイム | 結果発表