对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 18547 1111031020975 End Time:1111031037522 Exception:10 16547 1111031072912 End Time:1111031089693 Exception:4 16781 1111031798287 End Time:1111031815802 Exception:9 17515 1111031754506 End Time:1111031771412 Exception:16 16906 维持5000个线程,30秒成功失败次数:平均执行次数48541 其中平均失败次数 3.8 1111032047412 End Time:1111032077427 Success:48787 Exception:6 1111034102318 End Time:1111034132334 Success:49090 Exception:3 1111034522974 End Time:1111034552990 Success:49158 Exception:1 1111034583740 End Time:1111034613756 Success:48842 Exception:6 1111034637146 End Time:1111034667162 Success:46830 Exception:3 openorb 同时起10000个线程:平均时长28594 失败次数0 1111048783686 End Time:1111048817716 Exception:0 34030 1111048864989 End Time:1111048894022 Exception:0 29033 1111049080388 End Time:1111049101447 Exception:0 21059 1111049116203 End Time:1111049146497 Exception:0 30294 1111049160390 End Time:1111049188944 Exception:0 28554 维持5000个线程,30秒成功失败次数:平均执行次数21664 失败次数0 1111049375812 End Time:1111049405819 Success:20853 Exception:0 1111049446810 End Time:1111049476841 Success:21232 Exception:0 1111049500024 End Time:1111049530049 Success:21493 Exception:0 1111049548506 End Time:1111049578515 Success:22656 Exception:0 1111049612209 End Time:1111049643276 Success:22089 Exception:0

|