Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update

  • Loading branch information...
commit 1ed5dc115993bcdec09752e2162be42778209553 1 parent c061e65
nari authored
Showing with 34 additions and 4 deletions.
  1. +1 −1  .gitignore
  2. +1 −1  bm-make-graph.sh
  3. +2 −2 index.html
  4. +30 −0 update-bm.sh
View
2  .gitignore
@@ -1,4 +1,4 @@
config.rb
ruby
update-bm.log
-update-bm.sh
+shipit.sh
View
2  bm-make-graph.sh
@@ -6,7 +6,7 @@ cat <<END > index.html
<title>CRuby Benchmark CI</title>
</head>
<body>
-<p>All scripts are here (<a href="https://gist.github.com/3887044">https://gist.github.com/3887044</a>)</p>
+<p>All scripts are here (<a href="https://github.com/authorNari/crubybenci">https://github.com/authorNari/crubybenci</a>)</p>
<pre>Benchmark options:
-r 3 -v --executables="r\${rev}::./ruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext --;r\${rev}-nogems::./ruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems"</pre>
END
View
4 index.html
@@ -3,11 +3,11 @@
<title>CRuby Benchmark CI</title>
</head>
<body>
-<p>All scripts are here (<a href="https://gist.github.com/3887044">https://gist.github.com/3887044</a>)</p>
+<p>All scripts are here (<a href="https://github.com/authorNari/crubybenci">https://github.com/authorNari/crubybenci</a>)</p>
<pre>Benchmark options:
-r 3 -v --executables="r${rev}::./ruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext --;r${rev}-nogems::./ruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems"</pre>
<p>uname -a : Linux hal 2.6.32-43-generic #97-Ubuntu SMP Wed Sep 5 16:43:09 UTC 2012 i686 GNU/Linux</p>
-<p>Updated at : 2012-10-14 11:31:22+09:00</p>
+<p>Updated at : 2012-10-14 11:46:09+09:00</p>
<a href="dest/app_answer.plot">app_answer.plot</a><br/>
<img src="dest/app_answer.png" /><br />
<a href="dest/app_erb.plot">app_erb.plot</a><br/>
View
30 update-bm.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+cd ruby
+
+# git pulling
+git pull origin trunk:bench
+
+# setup
+if [ -r Makefile ]
+then
+ autoconf
+ ./configure --disable-install-rdoc --without-ext --enable-shared
+fi
+[ -r ../dest ] || mkdir ../dest
+
+# run benchmarks
+sh ../bm-run.sh
+[ $? -ne 0 ] && exit 0
+
+# merge bmlog
+ruby ../bm-merge.rb bmlog
+
+# make index.html
+cd ../dest
+sh ../bm-make-graph.sh
+mv -f index.html ../index.html
+
+# ship it!
+cd ..
+sh shipit.sh
Please sign in to comment.
Something went wrong with that request. Please try again.