When one or more of the All filters is selected - only average normalized results are displayed. Please read Running and Results for more details.
Comparison of JPA/Database speed - the averages (normalized score, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|
DataNucleus | 6.2 | 8.9 | 7.6 | 0.94 | 2.8 | 3.3 | 2.6 | 4.0 | |||
EclipseLink | 17.8 | 23.5 | 26.5 | 0.58 | 6.1 | 6.0 | 3.2 | 8.6 | |||
Hibernate | 7.8 | 14.5 | 18.0 | 0.69 | 4.7 | 4.6 | 3.2 | 6.8 | |||
OpenJPA | 9.6 | 17.6 | 20.0 | 5.1 | 5.1 | 4.3 | 8.0 | ||||
ObjectDB | 100 | 44.2 |
Performance comparison chart - The Y-Axis represents normalized score in logarithmic scale - higher is better:
Performance comparison chart - The Y-Axis represents normalized score in linear scale - higher is better:
Best and Worst JPA/Database Performer in this comparison
The Most Efficient (the Fastest):
1. | ObjectDB embedded | 100 |
2. | ObjectDB server | 44.2 |
3. | EclipseLink with HSQLDB embedded | 26.5 |
4. | EclipseLink with H2 embedded | 23.5 |
5. | OpenJPA with HSQLDB embedded | 20.0 |
6. | Hibernate with HSQLDB embedded | 18.0 |
7. | EclipseLink with Derby embedded | 17.8 |
8. | OpenJPA with H2 embedded | 17.6 |
9. | Hibernate with H2 embedded | 14.5 |
10. | OpenJPA with Derby embedded | 9.6 |
11. | DataNucleus with H2 embedded | 8.9 |
12. | EclipseLink with PostgreSQL server | 8.6 |
13. | OpenJPA with PostgreSQL server | 8.0 |
14. | Hibernate with Derby embedded | 7.8 |
15. | DataNucleus with HSQLDB embedded | 7.6 |
16. | Hibernate with PostgreSQL server | 6.8 |
17. | DataNucleus with Derby embedded | 6.2 |
The Least Efficient (the Slowest):
18. | EclipseLink with Derby server | 6.1 |
19. | EclipseLink with H2 server | 6.0 |
20. | OpenJPA with H2 server | 5.1 |
21. | OpenJPA with Derby server | 5.1 |
22. | Hibernate with Derby server | 4.7 |
23. | Hibernate with H2 server | 4.6 |
24. | OpenJPA with MySQL server | 4.3 |
25. | DataNucleus with PostgreSQL server | 4.0 |
26. | DataNucleus with H2 server | 3.3 |
27. | Hibernate with MySQL server | 3.2 |
28. | EclipseLink with MySQL server | 3.2 |
29. | DataNucleus with Derby server | 2.8 |
30. | DataNucleus with MySQL server | 2.6 |
31. | DataNucleus with DB4O embedded | 0.94 |
32. | Hibernate with SQLite embedded | 0.69 |
33. | EclipseLink with SQLite embedded | 0.58 |
Total number of failed test runs (out of 10 tests in total) in this page results
Notes: Failed test runs are not included in any average score calculation. Click on failure numbers to see exception stack traces.
The results above are averages of the following 10 concrete test results
- Indexing Test - Persistence Operations - Few Entities (5/100)
- Indexing Test - Persistence Operations - Many Entities (5000)
- Indexing Test - Retrieval Operations - Few Entities (5/100)
- Indexing Test - Retrieval Operations - Many Entities (5000)
- Indexing Test - Query Operations - Few Entities (5/100)
- Indexing Test - Query Operations - Many Entities (5000)
- Indexing Test - Update Operations - Few Entities (5/100)
- Indexing Test - Update Operations - Many Entities (5000)
- Indexing Test - Removal Operations - Few Entities (5/100)
- Indexing Test - Removal Operations - Many Entities (5000)