Skip to content

Commit

Permalink
new benchmarking scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wetherbeei committed Apr 21, 2013
1 parent 725b611 commit 5edca4f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 5 additions & 0 deletions bench.sh
@@ -0,0 +1,5 @@
/usr/bin/time -f 'Real: %es, %PCPU %Uu %Ss %er %MkB %C' ./$1 $2
for procs in 1 2 4 8
do
GOMAXPROCS=$procs /usr/bin/time -f 'Real: %es, %PCPU %Uu %Ss %er %MkB %C' ./${1}_parallel $2
done
5 changes: 5 additions & 0 deletions build.sh
@@ -0,0 +1,5 @@
go install gopar || exit

/usr/bin/time -f 'Real: %es, %PCPU %Uu %Ss %er %MkB %C' ./bin/gopar build "$1"
mv $1 ${1}_parallel
go build $1
9 changes: 0 additions & 9 deletions test.sh

This file was deleted.

0 comments on commit 5edca4f

Please sign in to comment.