欢迎光临
我们一直在努力

Jcorb和OpenORB的性能比较-JSP教程,Java技巧及代码

建站超值云服务器,限时71元/月

对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

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » Jcorb和OpenORB的性能比较-JSP教程,Java技巧及代码
分享到: 更多 (0)