From d3a0aa3d8efae7743e6a36629a6abc25bd21d9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20R=C3=BCger?= Date: Sat, 24 Aug 2019 16:03:35 +0300 Subject: [PATCH] redid benchmarks with new options especially calling did improve also binaries don't get crazy big even for bigger heaps, because they are just ints --- test/bench/results.md | 8 ++++---- test/bench/rubyx/adds.rb | 4 ++-- test/bench/rubyx/calls.rb | 4 ++-- test/bench/rubyx/hello.rb | 2 +- test/bench/rubyx/loop.rb | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/test/bench/results.md b/test/bench/results.md index 1660f936..45d29f0b 100644 --- a/test/bench/results.md +++ b/test/bench/results.md @@ -23,8 +23,8 @@ Results (in ms) should be seen as relative, not absolute. language | noop | hello | add | call | loop -c | 55 | 380 | 88 | 135 | 6 -go | 52 | 450 | 9 | 77 | 2 -rubyx | 42 | 200 | 1700 | 1450 | 470 +c | 55 | 330 | 88 | 135 | 6 +go | 52 | 400 | 9 | 77 | 2 +rubyx | 42 | 160 | 1575 | 780 | 430 ruby | 1570 | 650 | 1090 | 1500 | 180 -mruby | 86 | 1200 | 1370 | 2700 | 300 +mruby | 86 | 1100 | 1370 | 2700 | 300 diff --git a/test/bench/rubyx/adds.rb b/test/bench/rubyx/adds.rb index 4f726430..64c49dc5 100644 --- a/test/bench/rubyx/adds.rb +++ b/test/bench/rubyx/adds.rb @@ -14,9 +14,9 @@ class Space return result end - # ran with --parfait=80000 + # ran with --integers=1600000 , result -noop * 25 def main(arg) - b = 1000 + b = 2000 while( b >= 1 ) b = b - 1 fibo_i(40) diff --git a/test/bench/rubyx/calls.rb b/test/bench/rubyx/calls.rb index bfbcb58b..1597bcab 100644 --- a/test/bench/rubyx/calls.rb +++ b/test/bench/rubyx/calls.rb @@ -9,9 +9,9 @@ class Space return a + b end - # ran with --parfait=70000 + # ran with --integers=170000 , result - noop * 10 def main(arg) - b = 2 + b = 5 res = 0 while( b >= 1 ) b = b - 1 diff --git a/test/bench/rubyx/hello.rb b/test/bench/rubyx/hello.rb index f18b59f5..68db4bf0 100644 --- a/test/bench/rubyx/hello.rb +++ b/test/bench/rubyx/hello.rb @@ -1,5 +1,5 @@ class Space - # ran with --parfait=25000 + # ran with --parfait=21000 def main(arg) b = 10000 while( b >= 1 ) diff --git a/test/bench/rubyx/loop.rb b/test/bench/rubyx/loop.rb index 22807be3..b01cf61a 100644 --- a/test/bench/rubyx/loop.rb +++ b/test/bench/rubyx/loop.rb @@ -1,6 +1,6 @@ class Space - # ran with --parfait=101000 + # ran with --integers=102400 , result -noop * 10 def main(arg) b = 100000 while( b >= 1 )