Giter VIP home page Giter VIP logo

orm-performance-comparator's Introduction

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 end

http://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.

orm-performance-comparator's People

Contributors

klaudiuszwojtkowiak avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.