/ / WinChalow

RecDescent ベンチマーク[chalow]

2004-08-01

chalow オリジナルのパーザと Parse::RecDescent を使ったパーザのベンチマークをとってみました。2:77でchalowの圧勝。今年の夏は終わった...(笑)

10:58:27 chalow$ perl bench.pl <ChangeLog
Benchmark: timing 100 iterations of p1, p2...
p1: 2 wallclock secs ( 1.95 usr + 0.00 sys = 1.95 CPU) @ 51.20/s (n=100)
p2: 77 wallclock secs (76.77 usr + 0.64 sys = 77.41 CPU) @ 1.29/s (n=100)

permlink