benchmark_sequence.sh

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· Shell 代码 · 共 26 行

SH
26
字号
#!/bin/sh

# benchmark_sequence.sh,v 1.1 1999/07/28 16:54:27 othman Exp

# Script to run the IDL_Cubit octet sequence test with different
# sequence sizes, using TAO's UIOP pluggable protocol.
# The -ORBGIOPlite option will be used.
# Client and Server output will be placed in separate files.

# Initially written by Ossama Othman <othman@cs.wustl.edu>

set -e

for bytes in 4 8 16 32 64 128 256 512 1024 2048; do
  echo "Running IDL_Cubit sequence<octet> test with $bytes byte(s) in sequence..."
  ./server -f ior -ORBEndpoint uiop:// -ORBGIOPlite \
	> octet_seq.$bytes.uioplite.server 2>&1 &
  sleep 2
  ./client -f ior -n 1000 -t small_octet_seq -b $bytes -x -ORBGIOPlite \
	> octet_seq.$bytes.uioplite.client 2>&1
  wait
done

echo "Done."

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?