Mruby Bench Tool

This repo provides a really simple framework for writing Ruby scripts and
executing them against both cruby and mruby. It doesn't make any
assumptions about which rubies you have installed and expects a "ruby" to
be in your PATH and an mruby source install to be symlinked to the working
directory.

The mruby execution uses the strategy of compiling a standalone C
executable containing mruby bytecode.

The goal wasn't to say anything authoritatively but instead give a way to
test out both. The provided scripts are a bit contrived and I'd love to
accept contributions of some that push the VMs a bit harder :smiley:

Happy Sunday,

Ryan

···

--
Ryan Cook
Simple and to everyplace but the point.
720.319.7660

Update: I added the four benchmarks from the mruby repository and changed
the sample output in the README

General question: is it a goal for mruby to be faster than cruby?

···

On Sun, Apr 2, 2017 at 10:39 AM, Ryan Cook <cookrn@gmail.com> wrote:

GitHub - cookrn/mruby-bench-tool: A simple tool to benchmark Ruby scripts in cruby vs. mruby

This repo provides a really simple framework for writing Ruby scripts and
executing them against both cruby and mruby. It doesn't make any
assumptions about which rubies you have installed and expects a "ruby" to
be in your PATH and an mruby source install to be symlinked to the working
directory.

The mruby execution uses the strategy of compiling a standalone C
executable containing mruby bytecode.

The goal wasn't to say anything authoritatively but instead give a way to
test out both. The provided scripts are a bit contrived and I'd love to
accept contributions of some that push the VMs a bit harder :smiley:

Happy Sunday,

Ryan

--
Ryan Cook
Simple and to everyplace but the point.
720.319.7660 <(720)%20319-7660>

--
Ryan Cook
Simple and to everyplace but the point.
720.319.7660

Hi,

···

In message "Re: mruby Bench Tool" on Sun, 2 Apr 2017 11:38:53 -0600, Ryan Cook <cookrn@gmail.com> writes:

Update: I added the four benchmarks from the mruby repository and changed
the sample output in the README

General question: is it a goal for mruby to be faster than cruby?

No. mruby chooses smaller memory footprint rather than performance.

              matz.