These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: performance and quality
PostPosted: Wed May 05, 2004 5:42 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
Hi friends,
I have in charge the respect of quality and coding rules for a big project which is going to be realized by an offshore company.
This company will use our framework (struts, hibernate, technical services...) and must respect our methodology.
We have to define performance and quality metrics.
So my question is pretty simple, which tools, you guys are you using to bench the perf (example: sql generated and so HQL optimised) and to verify code quality (example: layer isolation).

What we are using:
- JUnit, strutstestcase
- jalopy for code formatting
- checkstyle for layer isolation ....
- loadrunner for perfs/stress test but the J2EE plug in only works with EJB, am i right?

We want to launch a "verification" suite which launch each of our tool and at the end show use metrics (12% classes does respect isolation, 26% SQL (so HQL) seem not ok....).

So i thank you for sharing your experience.


Anthony


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 11:49 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
The biggest issue is Hibernate best practices (good ORM comprehension, session per user tx, cache usage etc...) but there is no tool for that and it's not that easy to explain and write down (an Hibernate Training should solve that anyway - How about a public training in Bangalore ;-) )

We tryed to use Cast in my corp as a code quality checker, but it's a static analyser and is very expensive.
Manual random code checking is the best I've found so far.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 12:00 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
thanks emmanuel,
i was thinking about tracing sql generated during tests, this would give us where abusive N+1 problem occurs, where sql is not optimized that would say that either mapping logic OR hql query is bad... it's not very easy


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 20, 2006 10:48 am 
Newbie

Joined: Fri Oct 20, 2006 10:34 am
Posts: 2
There is metrics report available for Hibernate at http://www.sourcekibitzer.org/project.p ... e-3/trunk/

It will definitly not solve all quality problems, but can give another point of view on Hibernate project activity and quality

_________________
Mark


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.