Loading README.org +18 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,21 @@ libraries and database servers. each entry has format: db_server, compiler, libraries all build is release mode (with -O or equivalent). | db | language/runtime | lib | select (s) | update (s) | |-------+-------------------+-------------------+------------+------------| | pg9.4 | python/cpython2.7 | psycopg2 | 0.37 | 26.3 | | pg9.4 | C/gcc | libpq5 | 0.32 | 26.5 | | pg9.4 | haskell/ghc8.0.1 | postgresql-simple | 0.63 | 27.2 | | pg9.4 | haskell/ghc7.10.3 | postgresql-simple | 0.61 | 26.6 | | pg9.4 | rust/rust1.13.0 | postgres | 0.50 | 26.3 | | pg9.4 | go/go1.7.3 | pq | 0.37 | 27.2 | | pg9.4 | racket/racket6.5 | built-in db | 2.19 | 26.7 | - Remarks: - python and go's db binding is as fast as C. - rust and haskell is slower. C is 1.65x faster. - racket is much slower. C is 6x faster. ** postgres 9.4, cpython 2.7, psycopg2==2.6.1 http://initd.org/psycopg/docs/usage.html 0.35 Loading Loading @@ -90,6 +105,9 @@ https://www.postgresql.org/docs/9.4/static/libpq.html -- 1.85 26.63 -- 2.19 26.78 - I think I maybe testing disk IO performance. should use the pg bench cluster for benchmarking. bench cluster listen on port 5433. Loading Loading
README.org +18 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,21 @@ libraries and database servers. each entry has format: db_server, compiler, libraries all build is release mode (with -O or equivalent). | db | language/runtime | lib | select (s) | update (s) | |-------+-------------------+-------------------+------------+------------| | pg9.4 | python/cpython2.7 | psycopg2 | 0.37 | 26.3 | | pg9.4 | C/gcc | libpq5 | 0.32 | 26.5 | | pg9.4 | haskell/ghc8.0.1 | postgresql-simple | 0.63 | 27.2 | | pg9.4 | haskell/ghc7.10.3 | postgresql-simple | 0.61 | 26.6 | | pg9.4 | rust/rust1.13.0 | postgres | 0.50 | 26.3 | | pg9.4 | go/go1.7.3 | pq | 0.37 | 27.2 | | pg9.4 | racket/racket6.5 | built-in db | 2.19 | 26.7 | - Remarks: - python and go's db binding is as fast as C. - rust and haskell is slower. C is 1.65x faster. - racket is much slower. C is 6x faster. ** postgres 9.4, cpython 2.7, psycopg2==2.6.1 http://initd.org/psycopg/docs/usage.html 0.35 Loading Loading @@ -90,6 +105,9 @@ https://www.postgresql.org/docs/9.4/static/libpq.html -- 1.85 26.63 -- 2.19 26.78 - I think I maybe testing disk IO performance. should use the pg bench cluster for benchmarking. bench cluster listen on port 5433. Loading