Last active
April 27, 2016 02:51
-
-
Save okkez/58c79d22ae1c87c572df92b679b35d23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== master 8f0c1c7 ===== | |
./bin/mruby benchmark/bm_ao_render.rb | |
real 13.01 | |
user 13.03 | |
sys 0.00 | |
./bin/mruby benchmark/bm_app_lc_fizzbuzz.rb | |
real 33.00 | |
user 33.01 | |
sys 0.03 | |
./bin/mruby benchmark/bm_fib.rb | |
real 9.82 | |
user 9.84 | |
sys 0.00 | |
./bin/mruby benchmark/bm_so_lists.rb | |
real 4.14 | |
user 4.12 | |
sys 0.02 | |
===== use-stack-directry ===== | |
./bin/mruby benchmark/bm_ao_render.rb | |
real 13.29 | |
user 13.31 | |
sys 0.00 | |
./bin/mruby benchmark/bm_app_lc_fizzbuzz.rb | |
real 34.44 | |
user 34.40 | |
sys 0.08 | |
./bin/mruby benchmark/bm_fib.rb | |
real 10.30 | |
user 10.31 | |
sys 0.00 | |
./bin/mruby benchmark/bm_so_lists.rb | |
real 4.08 | |
user 4.06 | |
sys 0.02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
measure1() { | |
echo "$@" >> ../bench.log | |
/usr/bin/time -p -o ../bench.log -a -- "$@" | |
} | |
measure2() { | |
echo "$@" >> bench.log | |
/usr/bin/time -p -o bench.log -a -- "$@" | |
} | |
MRUBY=./build/bench/bin/mruby | |
echo ===== master 8f0c1c7 ===== >> bench.log | |
pushd mrub-master | |
measure1 $MRUBY benchmark/bm_ao_render.rb | |
measure1 $MRUBY benchmark/bm_app_lc_fizzbuzz.rb | |
measure1 $MRUBY benchmark/bm_fib.rb | |
measure1 $MRUBY benchmark/bm_so_lists.rb | |
#measure1 $MRUBY benchmark/build_config_boxing.rb | |
#measure1 $MRUBY benchmark/build_config_cc.rb | |
popd | |
echo ===== use-stack-directry ===== >> bench.log | |
measure2 $MRUBY benchmark/bm_ao_render.rb | |
measure2 $MRUBY benchmark/bm_app_lc_fizzbuzz.rb | |
measure2 $MRUBY benchmark/bm_fib.rb | |
measure2 $MRUBY benchmark/bm_so_lists.rb | |
#measure2 $MRUBY benchmark/build_config_boxing.rb | |
#measure2 $MRUBY benchmark/build_config_cc.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== master 8f0c1c7 ===== | |
./build/bench/bin/mruby benchmark/bm_ao_render.rb | |
real 5.05 | |
user 5.06 | |
sys 0.00 | |
./build/bench/bin/mruby benchmark/bm_app_lc_fizzbuzz.rb | |
real 17.76 | |
user 17.74 | |
sys 0.04 | |
./build/bench/bin/mruby benchmark/bm_fib.rb | |
real 4.08 | |
user 4.08 | |
sys 0.00 | |
./build/bench/bin/mruby benchmark/bm_so_lists.rb | |
real 1.65 | |
user 1.63 | |
sys 0.02 | |
===== use-stack-directry ===== | |
./build/bench/bin/mruby benchmark/bm_ao_render.rb | |
real 5.20 | |
user 5.20 | |
sys 0.00 | |
./build/bench/bin/mruby benchmark/bm_app_lc_fizzbuzz.rb | |
real 17.20 | |
user 17.20 | |
sys 0.02 | |
./build/bench/bin/mruby benchmark/bm_fib.rb | |
real 4.17 | |
user 4.18 | |
sys 0.00 | |
./build/bench/bin/mruby benchmark/bm_so_lists.rb | |
real 1.67 | |
user 1.65 | |
sys 0.01 | |
===== master 8f0c1c7 ===== | |
5.61s user 0.00s system 100% cpu 5.600 total | |
17.11s user 0.02s system 100% cpu 17.098 total | |
3.96s user 0.00s system 100% cpu 3.959 total | |
1.64s user 0.03s system 99% cpu 1.665 total | |
===== use-stack-directry ===== | |
5.08s user 0.00s system 100% cpu 5.072 total | |
17.03s user 0.03s system 100% cpu 17.031 total | |
4.13s user 0.00s system 100% cpu 4.123 total | |
1.60s user 0.02s system 100% cpu 1.626 total | |
zsh ./bench.sh 56.15s user 0.10s system 100% cpu 56.176 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment