OSDN Git Service

listings 用に kmaeda さんのアイデアを採用.
[luatex-ja/luatexja.git] / test / test05-speed.rb
1 #! /usr/bin/ruby
2
3 for size in 1..9 do
4   tc = 0
5   for iter in 1..5 do
6     t = Time.now
7     system('luatex  "\count300=' + (5*size).to_s() + '\input test05-speed.tex" &> /dev/null')
8     t = Time.now - t
9     tc = tc + t
10     printf("%3d\t%10.5f\n", 5*size, t)
11   end
12 end