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.1 | 5.6 | 3.9 | 1.3 | 2.9 | 2.3 | 3.1 | 3.4 | |||
| EclipseLink | 17.5 | 13.3 | 16.3 | 0.90 | 5.6 | 3.4 | 4.2 | 7.8 | |||
| Hibernate | 6.9 | 8.3 | 10.6 | 0.81 | 4.3 | 2.8 | 3.6 | 5.6 | |||
| OpenJPA | 9.0 | 10.2 | 11.8 | 5.5 | 3.0 | 6.0 | 7.5 | ||||
| ObjectDB | 100 | 50.8 |
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 | 50.8 |
| 3. | EclipseLink with Derby embedded | 17.5 |
| 4. | EclipseLink with HSQLDB embedded | 16.3 |
| 5. | EclipseLink with H2 embedded | 13.3 |
| 6. | OpenJPA with HSQLDB embedded | 11.8 |
| 7. | Hibernate with HSQLDB embedded | 10.6 |
| 8. | OpenJPA with H2 embedded | 10.2 |
| 9. | OpenJPA with Derby embedded | 9.0 |
| 10. | Hibernate with H2 embedded | 8.3 |
| 11. | EclipseLink with PostgreSQL server | 7.8 |
| 12. | OpenJPA with PostgreSQL server | 7.5 |
| 13. | Hibernate with Derby embedded | 6.9 |
| 14. | DataNucleus with Derby embedded | 6.1 |
| 15. | OpenJPA with MySQL server | 6.0 |
| 16. | DataNucleus with H2 embedded | 5.6 |
| 17. | EclipseLink with Derby server | 5.6 |
The Least Efficient (the Slowest):
| 18. | Hibernate with PostgreSQL server | 5.6 |
| 19. | OpenJPA with Derby server | 5.5 |
| 20. | Hibernate with Derby server | 4.3 |
| 21. | EclipseLink with MySQL server | 4.2 |
| 22. | DataNucleus with HSQLDB embedded | 3.9 |
| 23. | Hibernate with MySQL server | 3.6 |
| 24. | EclipseLink with H2 server | 3.4 |
| 25. | DataNucleus with PostgreSQL server | 3.4 |
| 26. | DataNucleus with MySQL server | 3.1 |
| 27. | OpenJPA with H2 server | 3.0 |
| 28. | DataNucleus with Derby server | 2.9 |
| 29. | Hibernate with H2 server | 2.8 |
| 30. | DataNucleus with H2 server | 2.3 |
| 31. | DataNucleus with DB4O embedded | 1.3 |
| 32. | EclipseLink with SQLite embedded | 0.90 |
| 33. | Hibernate with SQLite embedded | 0.81 |
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
- Basic Person Test - Persistence Operations - Many Entities (5000)
- Basic Person Test - Retrieval Operations - Many Entities (5000)
- Basic Person Test - Query Operations - Many Entities (5000)
- Basic Person Test - Update Operations - Many Entities (5000)
- Basic Person Test - Removal Operations - Many Entities (5000)