Commit 909ae772 authored by neverlord's avatar neverlord

benchmark utilities

parent ba3b816c
#!/bin/bash
echo "./$@" | ./exec.sh
#!/bin/bash
echo "erl -noshell -noinput +P 20000000 -s $@ -s init stop" | ./exec.sh
#!/bin/bash
read -r cmd
export JAVA_OPTS="-Xmx5120M"
/usr/bin/time -p $cmd 2>&1 #| grep "^real" | grep -o -P "[0-9]*(\.[0-9]*)?"
#!/bin/bash
$@
# &>/dev/null
#!/bin/bash
for i in *.erl; do
echo "compile $i ..."
erlc "$i"
done
echo done
#!/bin/bash
for i in *.scala; do
echo "compile $i ..."
scalac -cp ../../akka-microkernel-1.2/lib/akka/akka-actor-1.2.jar "$i"
done
echo done
#!/bin/bash
for i in theron_*.cpp ; do
echo compile $i ...
g++ -std=c++0x -O3 $i -I../../Theron/Include/ -L../../Theron/Lib -ltheron -lboost_thread -o $(echo $i | grep -o -P "^[a-z_]+")
done
#!/bin/bash
#export JAVA_OPTS="-Xmx1024"
echo "scala -cp ../../akka-microkernel-1.2/lib/akka/akka-actor-1.2.jar $@" | ./exec.sh
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment