Sunday, August 16, 2009
perf4j vs. simon
Spring AOP - Caused by: java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given
Friday, August 7, 2009
Struts2中Action的@BeforeResult方法被执行两次问题
public void beforeResult(ActionInvocation invocation, String resultCode) { Object action = invocation.getAction(); List if (methods != null && methods.size() > 0) { Collections.sort(methods, new Comparator public int compare(Method method1, Method method2) { return method2.getAnnotation(BeforeResult.class).priority() - method1.getAnnotation(BeforeResult.class).priority(); } }); for (Method m : methods) { try { m.invoke(action, (Object[]) null); } catch (Exception e) { throw new XWorkException(e); } } } } |
Monday, July 27, 2009
perf4j中使用Piped I/O Stream
http://code.google.com/p/garbagecan/source/browse/trunk/java/perf4jstudy/src/main/java/com/googlecode/garbagecan/perf4jstudy/LogParserUtil.java
另外在做这些调研的时候还试着使用了一下PipedInputStream和PipedOutputStream两个流
http://code.google.com/p/garbagecan/source/browse/trunk/java/perf4jstudy/src/main/java/com/googlecode/garbagecan/perf4jstudy/PipedIO.java
Monday, June 15, 2009
难用的ICM Performance JMX
Saturday, May 23, 2009
Bug Fix Plan
Just now, Excalibur_GUI and Unit_Test_Excalibur_GUI area has total 70 p1 + p2 bugs.
Note: This 70 bugs not includes the bugs that will be fixed once sprint2 project finish - 17 bugs
Sprint2 Bug fix plan:
| Week | Dev Resource | Plan Dev Fixed | Plan QA Logged | Bug Number (approximation) |
| Apr. 24 - Apr. 24 | - | - | - | 70 |
| Apr. 27 - Apr. 30 (4 days) | 1.5 | 2 * 1.5 * 4 = 12 | 3 * 4 = 12 | 70 |
| May. 4 - May. 8 | 3 | 2 * 3 * 5 = 30 | 15 * 5 = 75 | 115 |
| May. 11 - May. 15 | 10.5 | 2 * 10.5 * 5= 105 | 15 * 5 = 75 | 85 |
| May. 18 - May. 22 | 10.5 | 2 * 10.5 * 5= 105 | 10 * 5 = 50 | 40 |
| May. 25 - May. 29 (4 days) | 10.5 | 1 * 10.5 * 4 = 44 | 10 * 4 = 40 | ??? |
Dev Resource:
| Resource | Apr. 27 - Apr. 30 | May. 4 - May. 8 | May. 11 - May. 15 |
| Chunlin |
|
| 100% |
| Gang |
|
| 100% |
| Jiangwei | 100% | 100% | 100% |
| Lin |
|
| 100% |
| Liyuan | 50% | 100% | 100% |
| Chao |
|
| 100% |
| Fanbin |
|
| 50% |
| Hong |
|
| 100% |
| Peng |
| 50% | 100% |
| Xiaodong |
|
| 100% |
| Yong |
| 50% | 100% |
| SubTotal # | 1.5 | 3 | 10.5 |
Note: The resource does not include Wanqing.