benchs/lang: increase timout to 5min
authorJean Privat <jean@pryen.org>
Fri, 26 Apr 2013 03:01:22 +0000 (23:01 -0400)
committerJean Privat <jean@pryen.org>
Mon, 15 Jul 2013 18:21:24 +0000 (14:21 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

benchmarks/bench_languages.sh

index b1e35b1..28720d7 100755 (executable)
@@ -57,7 +57,7 @@ function bench_command()
 
        # Execute the commands $count times
        for i in `seq 1 "$count"`; do
-               (ulimit -t 60; /usr/bin/time -f "%U" -o "$timeout" -a "$@") > $outputopts 2>&1 || die "$1: failed"
+               (ulimit -t 300; /usr/bin/time -f "%U" -o "$timeout" -a "$@") > $outputopts 2>&1 || die "$1: failed"
                echo -n "$i. "
                tail -n 1 "$timeout"
        done