⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 benchmark.sh

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 SH
字号:
#!/bin/sh

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

# Script to run all of the IDL_Cubit type tests for IIOP, UIOP and IIOP/UIOP
# with the -ORBGIOPlite option.
# Client and Server output will be placed in separate files.

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

set -e

for protocol in iiop uiop; do 
   for test in void octet short long struct union \
               small_octet_seq small_long_seq small_struct_seq \
               large_octet_seq large_long_seq large_struct_seq \
               mixin rti_data one_way; do 
	echo "Running IDL_Cubit $test test for $protocol..."
	./server -f ior -ORBEndpoint $protocol:// \
		> $test.$protocol.server 2>&1 &
	sleep 2
	./client -f ior -n 1000 -t $test -x \
		> $test.$protocol.client 2>&1
	wait
	echo "Running IDL_Cubit $test for $protocol with -ORBGIOPlite..."
	./server -f ior -ORBEndpoint $protocol:// -ORBGIOPlite \
		> $test.$protocol.lite.server 2>&1 &
	sleep 2
	./client -f ior -n 1000 -t $test -x -ORBGIOPlite \
		> $test.$protocol.lite.client 2>&1
	wait
   done
done
echo "Done."

⌨️ 快捷键说明

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