buddylistgrapher

diff performance.txt @ 16:dbaa8a943271

merge
author ju
date Thu, 05 Jul 2007 18:13:01 +0200
parents ccd2ab1bc9fd
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/performance.txt	Thu Jul 05 18:13:01 2007 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +SLOCCOUNT
     1.5 +
     1.6 +cpp:            125
     1.7 +sh:              52
     1.8 +sed:             52
     1.9 +
    1.10 +
    1.11 +
    1.12 +
    1.13 +SIZE
    1.14 +
    1.15 +14K     graph*       (cpp)
    1.16 +1.8K    graph2.sh*   (sh)
    1.17 +1.8K    graph3.sh*   (sed)
    1.18 +
    1.19 +
    1.20 +
    1.21 +
    1.22 +PERFORMANCE
    1.23 +
    1.24 +C++
    1.25 +
    1.26 +$ time ./graph input.txt > output.txt
    1.27 +  real    0m0.041s
    1.28 +  user    0m0.040s
    1.29 +  sys     0m0.000s
    1.30 +
    1.31 +
    1.32 +sh
    1.33 +
    1.34 +$ time ./graph2.sh input.txt > output.txt
    1.35 +  real    0m20.611s
    1.36 +  user    0m5.332s
    1.37 +  sys     0m14.357s
    1.38 +
    1.39 +
    1.40 +sed
    1.41 +
    1.42 +$ time ./graph3.sh input.txt > output.txt
    1.43 +  real    0m0.195s
    1.44 +  user    0m0.168s
    1.45 +  sys     0m0.016s