benchmark.sh 319 字节
Newer Older
M
MRXLT 已提交
1 2 3 4
rm profile_log
for thread_num in 1 4 8 12 16 20 24
do
    $PYTHONROOT/bin/python benchmark.py serving_client_conf/serving_client_conf.prototxt data.txt $thread_num $batch_size > profile 2>&1
M
MRXLT 已提交
5
    $PYTHONROOT/bin/python ../util/show_profile.py profile $thread_num >> profile_log
M
MRXLT 已提交
6 7
    tail -n 1 profile >> profile_log
done