Hatena::Groupmanakai

wakabatanの日記

2010-02-07

16:46

b0ecbe052

$ time perl parse-file.t complete.html

real    1m0.171s
user    0m59.951s
sys     0m0.220s

$ time make tokenizer-result.txt tree-construction-result.txt xml-result.txt
cd .. && perl  -I../lib/ t/HTML-tokenizer.t &> t/tokenizer-result.txt
cd .. && perl  -I../lib/ t/HTML-tree.t &> t/tree-construction-result.txt
cd .. && perl  -I../lib/ t/XML-Parser.t &> t/xml-result.txt

real    0m4.436s
user    0m4.346s
sys     0m0.090s

NYTProf

Profile of parse-file.t for 208s, executing 59292856 statements and 11843396 subroutine calls in 61 source files and 17 string evals.

394ca750

$ time perl parse-file.t complete.html

real    0m55.619s
user    0m55.381s
sys     0m0.238s

$ time make tokenizer-result.txt tree-construction-result.txt xml-result.txt
cd .. && perl  -I../lib/ t/HTML-tokenizer.t &> t/tokenizer-result.txt
cd .. && perl  -I../lib/ t/HTML-tree.t &> t/tree-construction-result.txt
cd .. && perl  -I../lib/ t/XML-Parser.t &> t/xml-result.txt

real    0m4.111s
user    0m4.032s
sys     0m0.079s

NYTProf

Profile of parse-file.t for 233s, executing 77549856 statements and 11768181 subroutine calls in 61 source files and 17 string evals.

24ebbe1

$ time perl parse-file.t complete.html

real    0m55.199s
user    0m54.969s
sys     0m0.230s