对jacorb 和 openorb 做了一个简单的性能测试,
版本:jacorb 2.2 openorb 1.3.1环境: 本机, windowsXP, CPU P4 2.6G, Memory 1G测试代码: 简单的helloworld调用
可以看出,jacorb比openorb几乎要快上一倍,不过openorb比较稳定,没有出现调用失败的现象
综合考虑,建议选用jacorb
测试数据:
jacorb
同时起10000个线程: 平均时长17259 平均失败次数8.4
1111031192240 End Time:1111031210787 Exception:3 185471111031020975 End Time:1111031037522 Exception:10 165471111031072912 End Time:1111031089693 Exception:4 167811111031798287 End Time:1111031815802 Exception:9 175151111031754506 End Time:1111031771412 Exception:16 16906
维持5000个线程,30秒成功失败次数:平均执行次数48541 其中平均失败次数 3.8
1111032047412 End Time:1111032077427 Success:48787 Exception:61111034102318 End Time:1111034132334 Success:49090 Exception:31111034522974 End Time:1111034552990 Success:49158 Exception:11111034583740 End Time:1111034613756 Success:48842 Exception:61111034637146 End Time:1111034667162 Success:46830 Exception:3
openorb
同时起10000个线程:平均时长28594 失败次数0
1111048783686 End Time:1111048817716 Exception:0 340301111048864989 End Time:1111048894022 Exception:0 290331111049080388 End Time:1111049101447 Exception:0 210591111049116203 End Time:1111049146497 Exception:0 302941111049160390 End Time:1111049188944 Exception:0 28554
维持5000个线程,30秒成功失败次数:平均执行次数21664 失败次数01111049375812 End Time:1111049405819 Success:20853 Exception:01111049446810 End Time:1111049476841 Success:21232 Exception:01111049500024 End Time:1111049530049 Success:21493 Exception:01111049548506 End Time:1111049578515 Success:22656 Exception:01111049612209 End Time:1111049643276 Success:22089 Exception:0