Skip to content

Update result to Ruby3 & mruby 3 ? #2

@megatux

Description

@megatux

I just ran the mruby-bench-tool with CRuby v3 & mruby v3 on my M1 Apple machine and these are the results:

BENCHMARK: bm_ao_render
Rehearsal -----------------------------------------
ruby    0.000042   0.000678   2.019122 (  2.021965)
mruby   0.000049   0.000804   4.597823 (  4.835339)
-------------------------------- total: 6.616945sec

            user     system      total        real
ruby    0.000053   0.000889   2.022581 (  2.024452)
mruby   0.000042   0.000813   4.560221 (  4.561207)

BENCHMARK: bm_app_lc_fizzbuzz
Rehearsal -----------------------------------------
ruby    0.000034   0.000761  20.023854 ( 20.035436)
mruby   0.000035   0.000611  11.196333 ( 11.448284)
------------------------------- total: 31.220187sec

            user     system      total        real
ruby    0.000038   0.000680  19.929559 ( 19.930153)
mruby   0.000035   0.000666  11.138180 ( 11.139099)

BENCHMARK: bm_fib
Rehearsal -----------------------------------------
ruby    0.000037   0.000665   2.268906 (  2.272070)
mruby   0.000049   0.000814   3.568259 (  3.806253)
-------------------------------- total: 5.837165sec

            user     system      total        real
ruby    0.000040   0.000726   2.275823 (  2.277881)
mruby   0.000044   0.000696   3.546551 (  3.547419)

BENCHMARK: bm_so_lists
Rehearsal -----------------------------------------
ruby    0.000037   0.000739   0.293253 (  0.294855)
mruby   0.000035   0.000618   0.672010 (  0.907480)
-------------------------------- total: 0.965263sec

            user     system      total        real
ruby    0.000037   0.000694   0.295913 (  0.297561)
mruby   0.000042   0.000625   0.627235 (  0.628359)

BENCHMARK: expensive
Rehearsal -----------------------------------------
ruby    0.000038   0.000728   0.303868 (  0.305550)
mruby   0.000034   0.000708   0.612467 (  0.860243)
-------------------------------- total: 0.916335sec

            user     system      total        real
ruby    0.000036   0.000694   0.299427 (  0.301102)
mruby   0.000040   0.000709   0.563048 (  0.563727)

BENCHMARK: string_concat
Rehearsal -----------------------------------------
ruby    0.000044   0.000855   0.157767 (  0.179253)
mruby   0.000037   0.000604   0.137219 (  0.382137)
-------------------------------- total: 0.294986sec

            user     system      total        real
ruby    0.000039   0.000663   0.122731 (  0.137905)
mruby   0.000032   0.000599   0.096868 (  0.097459)

Ruby versions:

$ ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin20]
$ mruby/bin/mruby -v
mruby 3.0.0 (2021-03-05)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions