X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=test%2Ftest05-speed.tex;h=e496ab96beaca4b820dca5901072d1a82869edfd;hb=c35bc9236b8c249d3089a824fe197d0d1cde7e78;hp=62f93311cfce6aa29c2a5ccec255fdd616dac118;hpb=d8c894d779cacc0a30982ff081b9547bc9f06237;p=luatex-ja%2Fluatexja.git diff --git a/test/test05-speed.tex b/test/test05-speed.tex index 62f9331..e496ab9 100644 --- a/test/test05-speed.tex +++ b/test/test05-speed.tex @@ -1,10 +1,10 @@ -%#! time luatex test05-speed.tex +%#! time luatex "\count300=10\input test05-speed.tex" \input luatexja-core.sty \newcount\cnt\newcount\cnta -\cnt=0 +\cnt=0\output={\deadcycles=0\setbox2000=\box255} \long\def\loop#1\repeat{\def\body{#1}\iterate} -\loop\ifnum\cnt<10 % <= this value +\loop\ifnum\cnt<\count300 % <= this value \cnta=0 \message{\the\cnt:}\par {\loop\ifnum\cnta<500 あ.「い,うえお・か(き)く)(けこ\advance\cnta1\repeat} \advance\cnt1 @@ -13,6 +13,8 @@ \end % real time: -% 20: 9.950s -% 10: 5.209s +% 40: 17.453 14.234 12.98 +% 30: 13.254 10.624 9.65 +% 20: 8.771 7.097 6.72 +% 10: 4.927 4.14 3.81 % env: C2D E7300, Mem 4GB, LuaTeX 0.71.0pre, Gentoo amd64 unstable \ No newline at end of file