Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

nurpax/db-bench

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
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

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.