Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Executing Problem / Speedtest

2006-12-18
2013-04-22
  • Hi there,
    is just tried to compile my awk script everything worked fine but then I tried to execute the binary I just received a segmentation fault. I'm running Debian on a AMD Turion 64 ML-32

    I also tested the Speed of the compiled program

    time awk '{ print $0 }' testfile > check

    real    0m0.203s
    user    0m0.084s
    sys     0m0.040s

    time ../awka.out testfile  > check

    real    0m0.240s
    user    0m0.144s
    sys     0m0.016s

    so the compiled one seems to be slower than the one interpreted with awk is this usual?