Choose benchmark test, operation and batch mode:

When one or more of the All filters is selected - only average normalized results are displayed. Please read Running and Results for more details.

Speed comparison of JPA database persistence operations per second (higher is better)

 Derby
embedded
H2
embedded
HSQLDB
embedded
SQLite
embedded
DB4O
embedded
ObjectDB
embedded
Derby
server
H2
server
MySQL
server
PostgreSQL
server
ObjectDB
server
DataNucleus2,5098,5247,435 28.1 1,4611,6541,3432,061 
EclipseLink2,91715,70714,60445.3  2,1253,6261,8963,756 
Hibernate2,92411,46813,94643.8  1,8523,6932,0453,807 
OpenJPA2,2487,8016,656   1,6362,4501,9452,496 
ObjectDB     54,724    17,876

Performance comparison chart - The Y-Axis represents normalized score in logarithmic scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB

Performance comparison chart - The Y-Axis represents normalized score in linear scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB

Best and Worst JPA/Database Performer in this comparison

The Most Efficient (the Fastest):

1. ObjectDB embedded100
2. ObjectDB server32.7
3. EclipseLink with H2 embedded28.7
4. EclipseLink with HSQLDB embedded26.7
5. Hibernate with HSQLDB embedded25.5
6. Hibernate with H2 embedded21.0
7. DataNucleus with H2 embedded15.6
8. OpenJPA with H2 embedded14.3
9. DataNucleus with HSQLDB embedded13.6
10. OpenJPA with HSQLDB embedded12.2
11. Hibernate with PostgreSQL server7.0
12. EclipseLink with PostgreSQL server6.9
13. Hibernate with H2 server6.7
14. EclipseLink with H2 server6.6
15. Hibernate with Derby embedded5.3
16. EclipseLink with Derby embedded5.3
17. DataNucleus with Derby embedded4.6

The Least Efficient (the Slowest):

18. OpenJPA with PostgreSQL server4.6
19. OpenJPA with H2 server4.5
20. OpenJPA with Derby embedded4.1
21. EclipseLink with Derby server3.9
22. DataNucleus with PostgreSQL server3.8
23. Hibernate with MySQL server3.7
24. OpenJPA with MySQL server3.6
25. EclipseLink with MySQL server3.5
26. Hibernate with Derby server3.4
27. DataNucleus with H2 server3.0
28. OpenJPA with Derby server3.0
29. DataNucleus with Derby server2.7
30. DataNucleus with MySQL server2.5
31. EclipseLink with SQLite embedded0.083
32. Hibernate with SQLite embedded0.080
33. DataNucleus with DB4O embedded0.051