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 | 11.9 | 6.1 | 4.7 | 0.018 | 5.7 | 1.9 | 1.5 | 8.6 | |||
| EclipseLink | 11.3 | 15.7 | 12.8 | 0.070 | 8.4 | 3.6 | 0.69 | 3.7 | |||
| Hibernate | 10.2 | 7.2 | 9.8 | 0.092 | 8.2 | 2.6 | 1.8 | 2.8 | |||
| OpenJPA | 1.1 | 2.5 | 2.0 | 0.84 | 0.93 | 1.3 | 0.72 | ||||
| ObjectDB | 100 | 28.3 |
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 | 28.3 |
| 3. | EclipseLink with H2 embedded | 15.7 |
| 4. | EclipseLink with HSQLDB embedded | 12.8 |
| 5. | DataNucleus with Derby embedded | 11.9 |
| 6. | EclipseLink with Derby embedded | 11.3 |
| 7. | Hibernate with Derby embedded | 10.2 |
| 8. | Hibernate with HSQLDB embedded | 9.8 |
| 9. | DataNucleus with PostgreSQL server | 8.6 |
| 10. | EclipseLink with Derby server | 8.4 |
| 11. | Hibernate with Derby server | 8.2 |
| 12. | Hibernate with H2 embedded | 7.2 |
| 13. | DataNucleus with H2 embedded | 6.1 |
| 14. | DataNucleus with Derby server | 5.7 |
| 15. | DataNucleus with HSQLDB embedded | 4.7 |
| 16. | EclipseLink with PostgreSQL server | 3.7 |
| 17. | EclipseLink with H2 server | 3.6 |
The Least Efficient (the Slowest):
| 18. | Hibernate with PostgreSQL server | 2.8 |
| 19. | Hibernate with H2 server | 2.6 |
| 20. | OpenJPA with H2 embedded | 2.5 |
| 21. | OpenJPA with HSQLDB embedded | 2.0 |
| 22. | DataNucleus with H2 server | 1.9 |
| 23. | Hibernate with MySQL server | 1.8 |
| 24. | DataNucleus with MySQL server | 1.5 |
| 25. | OpenJPA with MySQL server | 1.3 |
| 26. | OpenJPA with Derby embedded | 1.1 |
| 27. | OpenJPA with H2 server | 0.93 |
| 28. | OpenJPA with Derby server | 0.84 |
| 29. | OpenJPA with PostgreSQL server | 0.72 |
| 30. | EclipseLink with MySQL server | 0.69 |
| 31. | Hibernate with SQLite embedded | 0.092 |
| 32. | EclipseLink with SQLite embedded | 0.070 |
| 33. | DataNucleus with DB4O embedded | 0.018 |
Total number of failed test runs (out of 5 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 5 concrete test results
- Element Collection Test - Persistence Operations - Few Entities (5/100)
- Element Collection Test - Retrieval Operations - Few Entities (5/100)
- Element Collection Test - Query Operations - Few Entities (5/100)
- Element Collection Test - Update Operations - Few Entities (5/100)
- Element Collection Test - Removal Operations - Few Entities (5/100)