From ddc73017566ada719cf584cc1c78385cbae69cec Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Wed, 28 Apr 2010 08:53:04 +0200 Subject: [PATCH] Optionally take number of files to compile in perf.sh --- perf.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/perf.sh b/perf.sh index fdc2904cb..a1d4b8901 100755 --- a/perf.sh +++ b/perf.sh @@ -73,7 +73,11 @@ rm -rf $tmpdir mkdir $tmpdir cd $tmpdir -n=30 +if [ "$#" -gt 0 ]; then + n=$1 +else + n=30 +fi create_src $n echo "Without ccache:" -- 2.47.3