- 浏览: 1922000 次
- 性别:
- 来自: 福建莆田@广州
文章分类
最新评论
-
YuLimin:
关于开发者版本费用等问题请见:Have questions? ...
IBM于2009.06.19推出开发者免费版WebSphere Application Server -
YuLimin:
1、传统WAS : WebSphere Application ...
IBM于2009.06.19推出开发者免费版WebSphere Application Server -
chenlei65368:
咋加啊,总司令
微信JavaEye老炮群的入群标准-2009年之前注册JavaEye的技术人员 -
kkllmey:
怎么进呢。留个群号吧。
微信JavaEye老炮群的入群标准-2009年之前注册JavaEye的技术人员 -
Mr.TianShu:
3792274
微信JavaEye老炮群的入群标准-2009年之前注册JavaEye的技术人员
并发性能提升的原因之一是使用了 ConcurrentHashMap,原来的 Collections.synchronized(new HashMap()) 存在同步锁的性能瓶颈;
如果你是用JDK 5.0或以上的版本,就可以直接得到这个性能的提升的好处了。
或者下载 Emory concurrent utilities backport 加到 CLASSPATH 中
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/
当然还要努力,越快越好啦。。。
The upcoming Spring Framework version 2.5 will bring a 200% improvement for concurrent access over Spring 2.0.*. I used Crazy Bob's Semi Useless Benchmark ™ as a starting point. I fiddled with the code slightly to change the default behavior from "prototype" to "singleton", and I saw that spring 2.5 was faster than Guice for singletons.
Here are some benchmarks (there is variability based on the runs)
* Spring 2.0 vs. guice 1.0:
o Prototype: Single thread: Spring is 50-150X slower. Concurrent: Spring is 50-150X slower.
o Singleton: Single thread: Spring 3X slower - 2X faster. Concurrent: Spring is 5-10X slower
* Spring 2.0.6 vs. guice 1.0:
o Prototype: Single thread: Spring is ~10X slower. Concurrent: Spring is 5X slower.
o Singleton: Single thread: Spring 2X slower - 2X faster. Concurrent: Spring:Guice ~2:3
* Spring 2.14m vs. guice 1.0:
o Prototype: Single thread: Spring is 5-7X slower. Concurrent: Spring is 3-4X slower.
o Singleton: Single thread: neck and neck. Concurrent: Spring is 1-1.5X faster
* guice 1.0:
o Prototype: Single thread vs. Concurrent: Concurrent might be a bit slower than single threaded
o Singleton: Single thread vs. Concurrent: Concurrent is quite a bit faster than single threaded
详细请见这里
http://www.jroller.com/Solomon/entry/spring_2_5_perfomance_improvements
通过新特性提升性能是可喜的,说明Spring并没有背包袱。
但是对于IoC容器来说,这个性能提升往往没什么实际意义……因为虽说是10x甚至100x的差距,但是实际的单次注入性能差距从时间消耗上来说非常小……对应用来说得不到什么实际好处。
我觉得学习Spring性能改进的方法可能对我们的应用比较有意义。
如果你是用JDK 5.0或以上的版本,就可以直接得到这个性能的提升的好处了。
或者下载 Emory concurrent utilities backport 加到 CLASSPATH 中
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/
当然还要努力,越快越好啦。。。
引用
The upcoming Spring Framework version 2.5 will bring a 200% improvement for concurrent access over Spring 2.0.*. I used Crazy Bob's Semi Useless Benchmark ™ as a starting point. I fiddled with the code slightly to change the default behavior from "prototype" to "singleton", and I saw that spring 2.5 was faster than Guice for singletons.
Here are some benchmarks (there is variability based on the runs)
* Spring 2.0 vs. guice 1.0:
o Prototype: Single thread: Spring is 50-150X slower. Concurrent: Spring is 50-150X slower.
o Singleton: Single thread: Spring 3X slower - 2X faster. Concurrent: Spring is 5-10X slower
* Spring 2.0.6 vs. guice 1.0:
o Prototype: Single thread: Spring is ~10X slower. Concurrent: Spring is 5X slower.
o Singleton: Single thread: Spring 2X slower - 2X faster. Concurrent: Spring:Guice ~2:3
* Spring 2.14m vs. guice 1.0:
o Prototype: Single thread: Spring is 5-7X slower. Concurrent: Spring is 3-4X slower.
o Singleton: Single thread: neck and neck. Concurrent: Spring is 1-1.5X faster
* guice 1.0:
o Prototype: Single thread vs. Concurrent: Concurrent might be a bit slower than single threaded
o Singleton: Single thread vs. Concurrent: Concurrent is quite a bit faster than single threaded
详细请见这里
http://www.jroller.com/Solomon/entry/spring_2_5_perfomance_improvements
评论
16 楼
lijun96
2007-11-27
spring2.5有好几个类是jdk6的!!!!!!
15 楼
hantsy
2007-11-27
很多还在用1.2.x。。。那个性能测试很片面,那篇blog下面都Bob Lee的回复。。。
Posted by Bob Lee on October 09, 2007 at 01:08 PM EDT #
@Bob... I used your test that you provide at (http://google-guice.googlecode.com/svn/trunk/test/com/google/inject/PerformanceComparison.java) and added .in(Scopes.SINGLETON) to the three beans. I assume that's the correct way to configure singletons in Guice 1.0
Posted by Bob Lee on October 09, 2007 at 01:08 PM EDT #
@Bob... I used your test that you provide at (http://google-guice.googlecode.com/svn/trunk/test/com/google/inject/PerformanceComparison.java) and added .in(Scopes.SINGLETON) to the three beans. I assume that's the correct way to configure singletons in Guice 1.0
14 楼
avi2
2007-10-26
期待一下
13 楼
manmoon
2007-10-25
哎,框架热潮是一波赶一波阿,最终会一切回归自然的。
12 楼
e3002
2007-10-25
老不用。思想都快忘了!哈哈
11 楼
kenees
2007-10-18
我TMD的是彻底落伍了,呵呵,跟不上节奏,只有思想在了
10 楼
pilot
2007-10-18
我们用的版本我定的 2.0.7
9 楼
zdonking
2007-10-16
我们1.2.6
8 楼
JerryZheng
2007-10-15
我们公司还在用1.2.3。。。
7 楼
yueguangyuan
2007-10-15
Spring 2.5 ……
果然是开源软件,升级有够快, 跟着链接的信息跟进去看Juergen大叔的博客,原来是2.1转过去的
但是公司还在用Spring-on-wls1.2.5 升级无望,只能看着众多新特性眼馋,不知道大家在实际项目中怎么用,我想用Spring1.2.8的应该不在少数吧?
果然是开源软件,升级有够快, 跟着链接的信息跟进去看Juergen大叔的博客,原来是2.1转过去的
但是公司还在用Spring-on-wls1.2.5 升级无望,只能看着众多新特性眼馋,不知道大家在实际项目中怎么用,我想用Spring1.2.8的应该不在少数吧?
6 楼
Allen
2007-10-14
这个改进对于那些系统需要频繁而且大量进行IOC动作的系统来说是比较有意义的;而对于那些同一时刻总共不会超过1000个注入实例的系统来说,效果就不是很明显了。
Spring在IOC这个基础项目上的努力还是令人可喜的,它全面降低J2EE项目开发难度的事实正在得到不断巩固。
Spring在IOC这个基础项目上的努力还是令人可喜的,它全面降低J2EE项目开发难度的事实正在得到不断巩固。
5 楼
ecsoftcn
2007-10-12
版本跳的快,升级麻烦。
4 楼
DigitalSonic
2007-10-11
版本号跳好快,一下2.5了,期待ing
3 楼
jimmy.shine
2007-10-11
Spring2.5目前仍然没有开放下载吧!
2 楼
Tin
2007-10-11
YuLimin 写道
并发性能提升的原因之一是使用了 ConcurrentHashMap,原来的 Collections.synchronized(new HashMap()) 存在同步锁的性能瓶颈;
如果你是用JDK 5.0或以上的版本,就可以直接得到这个性能的提升的好处了。
或者下载 Emory concurrent utilities backport 加到 CLASSPATH 中
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/
当然还要努力,越快越好啦。。。
The upcoming Spring Framework version 2.5 will bring a 200% improvement for concurrent access over Spring 2.0.*. I used Crazy Bob's Semi Useless Benchmark ™ as a starting point. I fiddled with the code slightly to change the default behavior from "prototype" to "singleton", and I saw that spring 2.5 was faster than Guice for singletons.
Here are some benchmarks (there is variability based on the runs)
* Spring 2.0 vs. guice 1.0:
o Prototype: Single thread: Spring is 50-150X slower. Concurrent: Spring is 50-150X slower.
o Singleton: Single thread: Spring 3X slower - 2X faster. Concurrent: Spring is 5-10X slower
* Spring 2.0.6 vs. guice 1.0:
o Prototype: Single thread: Spring is ~10X slower. Concurrent: Spring is 5X slower.
o Singleton: Single thread: Spring 2X slower - 2X faster. Concurrent: Spring:Guice ~2:3
* Spring 2.14m vs. guice 1.0:
o Prototype: Single thread: Spring is 5-7X slower. Concurrent: Spring is 3-4X slower.
o Singleton: Single thread: neck and neck. Concurrent: Spring is 1-1.5X faster
* guice 1.0:
o Prototype: Single thread vs. Concurrent: Concurrent might be a bit slower than single threaded
o Singleton: Single thread vs. Concurrent: Concurrent is quite a bit faster than single threaded
详细请见这里
http://www.jroller.com/Solomon/entry/spring_2_5_perfomance_improvements
如果你是用JDK 5.0或以上的版本,就可以直接得到这个性能的提升的好处了。
或者下载 Emory concurrent utilities backport 加到 CLASSPATH 中
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/
当然还要努力,越快越好啦。。。
引用
The upcoming Spring Framework version 2.5 will bring a 200% improvement for concurrent access over Spring 2.0.*. I used Crazy Bob's Semi Useless Benchmark ™ as a starting point. I fiddled with the code slightly to change the default behavior from "prototype" to "singleton", and I saw that spring 2.5 was faster than Guice for singletons.
Here are some benchmarks (there is variability based on the runs)
* Spring 2.0 vs. guice 1.0:
o Prototype: Single thread: Spring is 50-150X slower. Concurrent: Spring is 50-150X slower.
o Singleton: Single thread: Spring 3X slower - 2X faster. Concurrent: Spring is 5-10X slower
* Spring 2.0.6 vs. guice 1.0:
o Prototype: Single thread: Spring is ~10X slower. Concurrent: Spring is 5X slower.
o Singleton: Single thread: Spring 2X slower - 2X faster. Concurrent: Spring:Guice ~2:3
* Spring 2.14m vs. guice 1.0:
o Prototype: Single thread: Spring is 5-7X slower. Concurrent: Spring is 3-4X slower.
o Singleton: Single thread: neck and neck. Concurrent: Spring is 1-1.5X faster
* guice 1.0:
o Prototype: Single thread vs. Concurrent: Concurrent might be a bit slower than single threaded
o Singleton: Single thread vs. Concurrent: Concurrent is quite a bit faster than single threaded
详细请见这里
http://www.jroller.com/Solomon/entry/spring_2_5_perfomance_improvements
通过新特性提升性能是可喜的,说明Spring并没有背包袱。
但是对于IoC容器来说,这个性能提升往往没什么实际意义……因为虽说是10x甚至100x的差距,但是实际的单次注入性能差距从时间消耗上来说非常小……对应用来说得不到什么实际好处。
我觉得学习Spring性能改进的方法可能对我们的应用比较有意义。
1 楼
kyo100900
2007-10-10
一直看好Spring,2.5期待中!!!!!!!!
发表评论
-
如何并行启动WAS应用服务器?而不是按顺序启动?
2022-06-14 16:07 490如何并行启动WAS应用服务器?而不是按顺序启动? 登录ISC ... -
关于图片文件旋转JPEG与EXIF信息
2019-10-30 21:44 1039关于图片文件旋转JPEG与 ... -
通过Liberty存储库下载保存组件,再分发并离线安装之操作步骤
2019-07-05 16:17 1026通过Liberty存储库下载保存组件,再分发并离线安装之操作步 ... -
Effective Java Third Edition中文版勘误列表
2018-10-24 01:03 2247相关资源: Eclipse JDK 9 ... -
Effective Java Third Edition中文翻译术语表讨论专用贴
2018-10-24 00:44 1987在书正式出来之前,把术语表放出来讨论。 翻译时的原则: 1 ... -
工作生活运动都不误!KUNG攻公路自行车2018款Horizon装备之
2018-09-08 18:12 2151感谢贺总,感谢KUNG攻,接下来就是准备开始对飙轻量级自行车与 ... -
WAS 8.5在HP-UX Itanium上无法图形化安装启动IIM之解
2013-11-11 17:20 3012继之前写的“WAS 8.5在AIX上无法启动图形化概要管理工具 ... -
IBM WebSphere Application Liberty Profile苗条瘦身之道初探及剖析
2012-08-12 19:57 34441.1 背景信息 IBM WebSphere Applicat ... -
停止启用了安全性的WAS Server而不手动输入密码之第二种选择
2011-05-07 23:08 4744停止启用了安全性的WAS Server而不手动输入密码之第二种 ... -
IBM WebSphere Application Server V6.1 Fix Pack 37于2011.04.04发布
2011-04-05 14:25 1927IBM WebSphere Application Serve ... -
WAS证书过期替换之独立WAS Server之文字操作版
2010-12-31 20:32 5853WAS证书过期替换之独立WAS Server之文字操作版 一 ... -
WAS证书过期替换之DM + NodeAgent + WAS Server网络拓扑结构之文字操作版
2010-12-31 20:28 3175WAS证书过期替换之DM + No ... -
通过配置文件来修改WAS控制台Session过期时间的方法
2010-06-17 18:21 4761通过配置文件来修改WAS控制台Session过期时间的方法 ... -
Tomcat 7之无需JDK只需JRE与无需web.xm及J2SE 6.0之真实与谎言?
2010-06-14 18:48 4601Tomcat 7之无需JDK只需JRE与无需web.xm及J2 ... -
《程序员 Java天下事,2010.01 低碳时代之Java风云》8卜被退稿
2010-06-12 10:47 2593这一篇《程序员 Jav ... -
IBM WebSphere Application Server V6.1 Fix Pack 29于2010.01.18发布
2010-01-23 21:35 3211IBM WebSphere Application Serve ... -
IBM WebSphere Application Server V7.0 Fix Pack 7于2009.11.13发布
2009-11-18 18:11 1911IBM WebSphere Application Serve ... -
隆重推荐《冒号课堂——编程范式与OOP思想》
2009-10-26 18:37 4044背景信息: 冒号课堂的系列博客质量相当高,有订阅此博客的X ... -
IBM WebSphere Application Server V6.1 Fix Pack 27于2009.09.21发布
2009-10-10 11:50 1754IBM WebSphere Application Serve ... -
停个车真的不是一般的难ReentrantLock.lock之LockSupport.park
2009-07-17 16:41 3397今碰到一问题,原以为代码用上 ReentrantLock.lo ...
相关推荐
Tool for logging performance benchmark for hp servicedesk to file.
### Sybase数据库性能优化基础知识详解 #### 一、引言 Sybase数据库是业界领先的数据库管理系统之一,尤其在金融、电信等行业中应用广泛。随着业务量的增长和技术的发展,数据库性能问题逐渐凸显,如何有效地进行...
《Android 应用性能优化》是一本专注于提升 Android 应用程序性能的书籍,通过样例代码来指导开发者实现更高效、流畅的应用。在 Android 编程领域,性能优化是至关重要的,它不仅关乎用户体验,也直接影响到应用的...
W. F. Sharpe. "Mutual Fund Performance." Journal of Business. Vol. 39, No. 1, Part 2, pp. 119-138, 1966.
### AIX性能分析与调优指南 #### 绩效分析与调优概览 本章节首先概述了AIX操作系统下的性能分析与调优的基本概念、重要性及其在系统中的作用。 **性能**是衡量系统生产力的主要因素之一。它依赖于吞吐量和响应...
webgl-2d-perfomance webgl-2d-perfomance test
perfomance_test_nginx-cache_elasticsearch-cache 具有 nginx 缓存功能和 elasticsearch 缓存功能的 elasticsearch 实验。 调查及结果 请看 如何进行测试 1.准备测试环境 1.1 使用nginx(rproxy-cache)制作一个ec2...
《Java Performance - The Definitive Guide》是一本深入探讨Java性能优化的专业书籍,它为Java开发者提供了关于如何提升代码效率、降低系统资源消耗的关键指导。这本书涵盖了从基础的编程实践到复杂的工具使用,...
mrc snrgain perfomance
《Oracle Database 10g性能调整与优化》 在IT领域,数据库性能优化是一项至关重要的任务,特别是对于大型企业及高并发系统来说,高效的数据库性能是保障业务流畅运行的基础。Oracle Database 10g作为一款广泛应用的...
在Angular开发中,性能优化是确保用户获得流畅体验的关键因素。"angular-performance"主题涵盖了针对Angular应用程序进行性能提升的各种技术和策略。以下是一些核心知识点: 1. **懒加载模块**:Angular支持模块懒...
Linux性能工具是针对Linux系统性能调优和基准测试的专业工具集合。在描述中提到,这些工具对于评估和优化嵌入式Linux系统的性能具有重要作用。标签中的“linux arm”表明这些工具特别适用于基于ARM架构的Linux设备。...
ISR Perfomance ,ISR ROUTER
High perfomance PPTP client and server
比较性能栏 简单进度视图,您可以比较事物,例如足球比赛的统计数据 用法 <... android : layout_width = " match_parent " android : layout_height = " 50dp " android : layout_marginStart = " 8dp " ...
《基于MATLAB-Simulink模型的交流传动高性能控制》是由Haitham AbuRub、Atif Iqbal和Jaroslaw Guzinski三位作者合著的专业书籍,主要探讨了利用MATLAB/Simulink工具对交流驱动系统进行高效控制的技术与方法。...
在实现过程中,"perfomance_sys_wx"文件可能包含了微信小程序的源代码,包括页面定义、样式设计、网络请求(通过wx.request调用Flask后端API)等内容。而"perfomance_sys_api"文件则可能包含了Flask应用的源代码,...
* 教义2.5 发电机组威基字体真棒用法建立专案composer create-project cawakharkov/symfony-micro:dev-master 凉亭bower install 使用内置服务器运行。 bin/console server:run localhost小基准-> % siege -b -t30S ...
IDAC (Informix Data Access Components) is a set of data access components developed by ... Using these components in your applications you will get fast perfomance like native Informix ESQL applications.