You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Christiaan <ch...@hotmail.com> on 2010/07/21 15:51:50 UTC
Performance comparison
FYI:
http://java.dzone.com/articles/jpa-performance-optimization
kind regards,
Christiaan
--
View this message in context: http://openjpa.208410.n2.nabble.com/Performance-comparison-tp5321131p5321131.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: Performance comparison
Posted by Christiaan <ch...@hotmail.com>.
I agree that it is half-tuned. However, If I am not mistaken OpenJPA strives
for "superior performance out of the box"
(http://www.mail-archive.com/open-jpa-dev@incubator.apache.org/msg02064.html).
Anyway, a similar comparison was done before, with somewhat disappointing
results for OpenJPA which caused a lot of discussion
(http://www.theserverside.com/news/thread.tss?thread_id=53142).
May be, instead of spending time on these individual tests, it is a good
idea to set up some performance tests for some typical CRUD scenarios in
order to test whether the performance is still in line with perception with
each new release (eg. x% overhead compared to direct JDBC calls?). Needless
to say that small changes can sometimes have a unexpected impact on
performance. Moreover, publishing the results on the website like Eclipse
does, could also show the areas of improvement regarding performance next to
the other improvements.
regards,
Christiaan
--
View this message in context: http://openjpa.208410.n2.nabble.com/Performance-comparison-tp5321131p5341570.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: Performance comparison
Posted by Pinaki Poddar <pp...@apache.org>.
The reported observation that OpenJPA is 50% slower than Hibernate does not
ring true to me based on
some comparative performance runs for CRUD operations on personal laptops.
The results for OpenJPA looks comparable to EclipseLink and better than
Hibernate. The basic catch is OpenJPA by default does not pool its database
connection and that drags its performance significantly. Once it is
configured to run with a plain-vanilla connection pool -- the perf numbers
for OpenJPA are quite promising.
-----
Pinaki
--
View this message in context: http://openjpa.208410.n2.nabble.com/Performance-comparison-tp5321131p5321759.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: Performance comparison
Posted by No1UNo <je...@jerrycarter.org>.
I can assure you, there is no panic on this side. My general perception is that the OpenJPA performance is quite good or at least nowhere near being the bottleneck of my system.
That stated, benchmarking performance is one of those tasks that deserves some attention periodically. I'll welcome your analysis when your schedule permits.
On Jul 21, 2010, at 11:30 AM, Rick Curtis [via OpenJPA] wrote:
> As always, I'd take a micro benchmark such as this one with a grain of salt.
> This isn't an apples to applies comparison. Also, this article is comparing
> half tuned JPA implementations.
>
> Hopefully in the coming days I'll get some time to play around with the code
> that is posted to this article.
>
> -Rick
>
>
> View message @ http://openjpa.208410.n2.nabble.com/Performance-comparison-tp5321131p5321556.html
> To start a new topic under OpenJPA Users, email ml-node+208411-1595610943-93721@n2.nabble.com
> To unsubscribe from OpenJPA Users, click here.
>
--
View this message in context: http://openjpa.208410.n2.nabble.com/Performance-comparison-tp5321131p5321610.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: Performance comparison
Posted by Rick Curtis <cu...@gmail.com>.
As always, I'd take a micro benchmark such as this one with a grain of salt.
This isn't an apples to applies comparison. Also, this article is comparing
half tuned JPA implementations.
Hopefully in the coming days I'll get some time to play around with the code
that is posted to this article.
-Rick
Re: Performance comparison
Posted by No1UNo <je...@jerrycarter.org>.
Thanks for the link. Very interesting article.
I realize that the focus of OpenJPA 2.0 has been on implementing the JPA 2.0 specification but, assuming this article is valid, the current performance is roughly half that of Hibernate. Perhaps someone closer to the codebase can offer an assessment, but this suggests there is room for optimization in 2.1.0 or later.
On Jul 21, 2010, at 9:51 AM, Christiaan [via OpenJPA] wrote:
> FYI:
> http://java.dzone.com/articles/jpa-performance-optimization
>
> kind regards,
> Christiaan
>
> View message @ http://openjpa.208410.n2.nabble.com/Performance-comparison-tp5321131p5321131.html
> To start a new topic under OpenJPA Users, email ml-node+208411-1595610943-93721@n2.nabble.com
> To unsubscribe from OpenJPA Users, click here.
>
--
View this message in context: http://openjpa.208410.n2.nabble.com/Performance-comparison-tp5321131p5321232.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.