Code Monkey home page Code Monkey logo

exposedsimpletest's Introduction

Simple performance test: Exposed vs plain JDBC vs Hibernate

1

  • plain jdbc autoCommit=false > insert time: 422ms
  • plain jdbc autoCommit=false > select time: 262ms
  • plain jdbc autoCommit=true > insert time: 412ms
  • plain jdbc autoCommit=true > select time: 435ms
  • exposed dsl > insert time: 2090ms
  • exposed dsl > select time: 1350ms
  • exposed transaction only > insert time: 617ms
  • exposed transaction only > select time: 585ms
  • exposed dao > insert time: 1583ms
  • exposed dao > select time: 1150ms
  • hibernate dao > insert time: 2100ms
  • hibernate dao > select time: 866ms

2

  • plain jdbc autoCommit=false > insert time: 437ms
  • plain jdbc autoCommit=false > select time: 207ms
  • plain jdbc autoCommit=true > insert time: 429ms
  • plain jdbc autoCommit=true > select time: 413ms
  • exposed dsl > insert time: 1857ms
  • exposed dsl > select time: 1121ms
  • exposed transaction only > insert time: 596ms
  • exposed transaction only > select time: 727ms
  • exposed dao > insert time: 1579ms
  • exposed dao > select time: 1094ms
  • hibernate dao > insert time: 2120ms
  • hibernate dao > select time: 903ms

3

  • plain jdbc autoCommit=false > insert time: 345ms
  • plain jdbc autoCommit=false > select time: 248ms
  • plain jdbc autoCommit=true > insert time: 454ms
  • plain jdbc autoCommit=true > select time: 476ms
  • exposed dsl > insert time: 1830ms
  • exposed dsl > select time: 1191ms
  • exposed transaction only > insert time: 501ms
  • exposed transaction only > select time: 553ms
  • exposed dao > insert time: 1463ms
  • exposed dao > select time: 1093ms
  • hibernate dao > insert time: 2133ms
  • hibernate dao > select time: 861ms

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.