Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daobab-projects/orm-performance-comparator
Performance comparator between Daobab, Hibernate and JPA
https://github.com/daobab-projects/orm-performance-comparator
comparation daobab hibernate jpa performance
Last synced: 2 days ago
JSON representation
Performance comparator between Daobab, Hibernate and JPA
- Host: GitHub
- URL: https://github.com/daobab-projects/orm-performance-comparator
- Owner: daobab-projects
- License: apache-2.0
- Created: 2023-11-12T21:43:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-29T21:22:33.000Z (about 1 year ago)
- Last Synced: 2024-11-08T14:48:38.022Z (about 2 months ago)
- Topics: comparation, daobab, hibernate, jpa, performance
- Language: Java
- Homepage: http://www.daobab.io/
- Size: 51.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# orm-performance-comparator
Performance comparator between Daobab, Hibernate and JPA# About the project
Daobab contains build-in internal Json converters, which brings significant improvements.
The idea of this project is to compare the Daobab performance to various popular ORMs including the time needed to Json
conversion.The project contains an 'InternalInterceptor' - this interceptor measures the execution time contains json conversion.
However, massive invokes from InvokerService measures also an additional time needed by http protocol to establish
connection and retrieve the data.
That's why those time may be slightly greater that noted by InternalInterceptor.# How to run
Use Application class to run the Spring Boot application.
Go to http://localhost:9001 to show the application root page.
Click some links. You can refresh the page to re-run the service.
Check the console logs.The second table executes massive tests.
For those tests, summary will be printed also at the web page.
Every ORM need some warm-out. Because of that, each massive invoke executes the service few times before.# url parameters
Some services accept url parameters for example: getCustomerPaymentSum - you can change the customer id (1 by default)
at the endhttp://localhost:9001/daobab/getCustomerPaymentSum/1
Also, for massive test you can change the number of invokes as below:
http://localhost:9001/invoker/testGetCustomerAddresses/100
# services
getActors - get the complete list of actors entities
getActorById - get single actor entity
getCustomerPaymentSum - get the customer payment sum
getCustomerAddresses - get 4 parameters from 3 tables related to customer data.