Benchmark result of reverse_complement

[email protected]$G$9!%e(B

e$B!!%Y%s%A%^!<%/$r$H$C$F$$$F!$$A$g$C$H5$$K$J$C$?7k2L$,$"$C$?$N$GJs9p$7e(B
e$B$^$9!%e(B

e$B!!e(Btrunk/benchmark/bm_so_reverse_complement.rb
e$B$H$$$&%F%9%H$G$9$,!$<Be(B
e$B$Ke(B ruby 1.8.5 e$B$h$j$be(B 420
e$BG\CY$/$J$C$F$$$^$9!%<B9T7k2L$Ne(B verify e$B$O$7e(B
e$B$F$$$J$$$N$G!$$b$7$+$7$?$iEz$($,4V0c$($F$$$k$N$+$b$7$l$^$;$s!%e(B

ruby 1.8.5 (2006-08-25) [x86_64-linux] 3.641
ruby 1.9.0 (2008-05-19 revision 16216) [x86_64-linux] 1604.212

e$B!!B?J,!$e(Bm17n
e$B4XO"[email protected]$H;W$&$N$G$9$,!$$3$N:9$O$A$g$C$HBg$-$$$N$G0N$$e(B
e$B?M!$8+$FLc$($J$$$G$7$g$&$+!%e(B

e$B!!%S%k%I%G%#%l%/%H%j$G<!$N$h$&$K$9$k$HHf3S$G$-$^$9!%e(B

$ make benchmark OPTS=’-p reverse’

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:34751] benchmark result of reverse_complement”
on Mon, 19 May 2008 18:41:54 +0900, SASADA Koichi [email protected]
writes:

|e$B!!%Y%s%A%^!<%/$r$H$C$F$$$F!$$A$g$C$H5$$K$J$C$?7k2L$,$"$C$?$N$GJs9p$7e(B
|e$B$^$9!%e(B
|
|e$B!!e(Btrunk/benchmark/bm_so_reverse_complement.rb e$B$H$$$&%F%9%H$G$9$,!$<Be(B
|e$B$Ke(B ruby 1.8.5 e$B$h$j$be(B 420 e$BG\CY$/$J$C$F$$$^$9!%<B9T7k2L$Ne(B verify e$B$O$7e(B
|e$B$F$$$J$$$N$G!$$b$7$+$7$?$iEz$($,4V0c$($F$$$k$N$+$b$7$l$^$;$s!%e(B
|
|ruby 1.8.5 (2006-08-25) [x86_64-linux] 3.641
|ruby 1.9.0 (2008-05-19 revision 16216) [x86_64-linux] 1604.212
|
|e$B!!B?J,!$e(Bm17n e$B4XO"[email protected]$H;W$&$N$G$9$,!$$3$N:9$O$A$g$C$HBg$-$$$N$G0N$$e(B
|e$B?M!$8+$FLc$($J$$$G$7$g$&$+!%e(B

e$B$($i$$$+$I$&$+J,$+$j$^$;$s$,!":#F|$Ne(Bregexpe$B4X78$N%Q%C%A$rF~$le(B
e$B$?CJ3,$G!"e(Bbenchmark/bm_so_reverse_complement.rbe$B$rD>@\5/F0$9e(B
e$B$k$He(B

1.8.6 3.38s user 0.89s system 5% cpu 1:13.65 total
1.9.0 4.00s user 1.34s system 2% cpu 3:08.57 total

e$B$G$7$?!#$^$"!"3N$+$KCY$/$J$C$F$^$9$,!"e(B420e$BG$[$I$G$O$J$$$h$&e(B
e$B$J!#$H$3$m$,e(B

| $ make benchmark OPTS=’-p reverse’

e$B$H$9$k$H!“3N$+$K$d$?$iCY$$$G$9!#$7$P$i$/BT$C$F$$$^$9$,!”$^[email protected](B
e$B7k2L$,=P$F$^$;$s!#$H$$$&$+!"e(B1.8e$B$N7k2L$,B.$9$.$G$9!#D>@\5/F0$Ge(B
e$B#1J,0J>e$+$+$C$F$$$k$N$K!“e(B3.6e$BIC$G=*$o$C$F$^$9!#e(Bdriver.rbe$B$r$be(B
e$B$&$A$g$C$HD4$Y$kI,MW$,$”$j$=$&$G$9!#e(B

                            e$B$^$D$b$He(B e$B$f$-$R$me(B /:|)

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:34765] Re: benchmark result of
reverse_complement”
on Tue, 20 May 2008 00:31:27 +0900, Yukihiro M.
[email protected] writes:

||e$B!!e(Btrunk/benchmark/bm_so_reverse_complement.rb e$B$H$$$&%F%9%H$G$9$,!$<Be(B
||e$B$Ke(B ruby 1.8.5 e$B$h$j$be(B 420 e$BG\CY$/$J$C$F$$$^$9!%<B9T7k2L$Ne(B verify e$B$O$7e(B
||e$B$F$$$J$$$N$G!$$b$7$+$7$?$iEz$($,4V0c$($F$$$k$N$+$b$7$l$^$;$s!%e(B
||
||ruby 1.8.5 (2006-08-25) [x86_64-linux] 3.641
||ruby 1.9.0 (2008-05-19 revision 16216) [x86_64-linux] 1604.212
||
||e$B!!B?J,!$e(Bm17n e$B4XO"[email protected]$H;W$&$N$G$9$,!$$3$N:9$O$A$g$C$HBg$-$$$N$G0N$$e(B
||e$B?M!$8+$FLc$($J$$$G$7$g$&$+!%e(B
|
|e$B$($i$$$+$I$&$+J,$+$j$^$;$s$,!":#F|$Ne(Bregexpe$B4X78$N%Q%C%A$rF~$le(B
|e$B$?CJ3,$G!“e(Bbenchmark/bm_so_reverse_complement.rbe$B$rD>@\5/F0$9e(B
|e$B$k$He(B
|
|1.8.6 3.38s user 0.89s system 5% cpu 1:13.65 total
|1.9.0 4.00s user 1.34s system 2% cpu 3:08.57 total
|
|e$B$G$7$?!#$^$”!"3N$+$KCY$/$J$C$F$^$9$,!"e(B420e$BG$[$I$G$O$J$$$h$&e(B
|e$B$J!#e(B

e$B$3$N;~4V$NBgH>$O%3%s%=!<%ke(BIOe$B$G$7$?!#$N$G!"e(B/dev/nulle$B$K%j%@%$%le(B
e$B%/%H$9$k$He(B

2.99s user 0.17s system 96% cpu 3.287 total
3.14s user 0.06s system 98% cpu 3.253 total

e$B$H$$$&$3$H$G!"$3$l$^$?$?$$$7$F:[email protected]$&7k2L$K$J$j$^$7$?!#e(B

e$B$H$3$m$,e(B

|| $ make benchmark OPTS=’-p reverse’

e$B$G!"5/F0$5$l$ke(B

./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb
–extout=.ext – ./benchmark/bm_so_reverse_complement.rb > /dev/null

[email protected]$H$d$?$i$KCY$$$H$$$&$3$H$N$h$&$G$9!#$3$l$+$i%W%m%U%!%$%k$re(B
e$B$H$C$F$_$^$9!#e(B

                            e$B$^$D$b$He(B e$B$f$-$R$me(B /:|)

[email protected]$G$9!%e(B

Yukihiro M. wrote:

||ruby 1.8.5 (2006-08-25) [x86_64-linux] 3.641
||ruby 1.9.0 (2008-05-19 revision 16216) [x86_64-linux] 1604.212
||
||e$B!!B?J,!$e(Bm17n e$B4XO"[email protected]$H;W$&$N$G$9$,!$$3$N:9$O$A$g$C$HBg$-$$$N$G0N$$e(B
||e$B?M!$8+$FLc$($J$$$G$7$g$&$+!%e(B

e$B!!0N$$0N$$$^$D$b$H$5$s$,D>$7$F$/$l$^$7$?!Je(B[ruby-cvs:23732]e$B!K!%e(B

ruby 1.8.5 (2006-08-25) [x86_64-linux] 3.663
ruby 1.9.0 (2008-05-20 revision 16216) [x86_64-linux] 4.060

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

e$B$3$N7o$K$D$$$F$O0N$/$J$$$G$9!#e(B

In message “Re: [ruby-dev:34772] Re: benchmark result of
reverse_complement”

|> ||ruby 1.8.5 (2006-08-25) [x86_64-linux] 3.641
|> ||ruby 1.9.0 (2008-05-19 revision 16216) [x86_64-linux] 1604.212
|> ||
|> ||e$B!!B?J,!$e(Bm17n e$B4XO"[email protected]$H;W$&$N$G$9$,!$$3$N:9$O$A$g$C$HBg$-$$$N$G0N$$e(B
|> ||e$B?M!$8+$FLc$($J$$$G$7$g$&$+!%e(B
|
|e$B!!0N$$0N$$$^$D$b$H$5$s$,D>$7$F$/$l$^$7$?!Je(B[ruby-cvs:23732]e$B!K!%e(B
|
|ruby 1.8.5 (2006-08-25) [x86_64-linux] 3.663
|ruby 1.9.0 (2008-05-20 revision 16216) [x86_64-linux] 4.060

e$B7k6Ie(Blocalee$B$Ge(Butf-8e$B$r;XDj$7$F$$$k$He(Bsinglebytee$B$N:GE,2=$,$$$C$5e(B
e$B$$F0$+$J$$$+$i$H$$$&$3$H$N$h$&$G$7$?!#$^$?!"e(BCODERANGEe$B$rJ]B8e(B
e$B$9$k$N$rK:$l$F$$$Fe(Bsearch_nonascii()e$B$,7+$jJV$75/F0$7$F$$$?$Ne(B
e$B$bBg$-$+$C$?!#e(B

e$B$^[email protected][email protected],I=8=$N$;$$$G$9$M!#@55,I=8=$K$b%^%C%Ae(B
e$BJ8;zNs$K$b%^%k%A%P%$%HJ8;z$,4^$^$l$F$$$J$1$l$P%7%s%0%k%P%$%He(B
e$B%^%C%A$9$k$h$&$K$9$k$H%^%7$K$J$k$G$7$g$&$1$I!#e(B

                            e$B$^$D$b$He(B e$B$f$-$R$me(B /:|)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs