Skip to content

nurpax/db-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell database benchmark

A simple benchmark for comparing Haskell *-simple database binding libraries (e.g. sqlite-simple) to native C sqlite and Python sqlite. For the purpose of this benchmark, the C implementation of the same benchmark is considered the fastest possible, which gives us a good comparison point for Haskell performance tuning.

See results tracker.

Running the benchmark

Compile:

cd db-bench
cabal-dev configure
cabal-dev install
# Create test data for sqlite:
./cabal-dev/bin/db-util --output-db=test.db --db=sqlite
# Similarly for other db's ..., choose --db=mysql or --db=psql

Run the benchmark:

./cabal-dev/bin/bench

About

Haskell database library benchmark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published