Skip to content
some benchmark scripts for testing CouchDB performance
C Shell PHP
Find file
Pull request Compare This branch is 29 commits ahead of felixge:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
AvocadoDB
CouchDB
f-m-sync
.gitignore
README.textile
setup.sh

README.textile

Benchmark-Tools

This project contains a collection of tools to measure the performance of NoSQL databases, SSD and Hard-Disks.

msync-bench

Is a tool to measure the performance of memory-mapped files. Switch into the directory “f-m-sync” and use make to compile.

> cd f-m-sync
> make
> ./msync-bench
usage: ./msync-bench [options] <file> <block-size> <count>
...

Try

> ./msync-bench /tmp/testfile 4096 20
file created
....................
insert time: 0.603477 sec for 20 documents (33.141280 docs / sec, 0.030174 secs / doc)
135746.681315 bytes / sec, 0.129458 mbyte / sec

fsync-bench

Is a tool like msync, but uses normal files and fsync instead of memory mapped files. Switch into the directory “f-m-sync” and use make to compile.

> cd f-m-sync
> make
> ./fsync-bench
usage: ./fsync-bench [options] <file> <block-size> <count>
...

Try

> ./fsync-bench /tmp/testfile 4096 20
....................
insert time: 0.586227 sec for 20 documents (34.116477 docs / sec, 0.029311 secs / doc)
139741.090056 bytes / sec, 0.133267 mbyte / sec

CouchDB

Tools for benchmarking CouchDB

insert-bench.php

The CouchDB tool “insert-bench.php” is based on: CouchDB Benchmarks

Start CouchDB and adjust the path to the database in “insert-bench.php”. Then try

> php insert-bench.php

append-only.sh

Is a shell script using curl and ab2 (Apache Bench) to benchmark the creation of documents using using concurrent requests.

Try

> ./append-only.sh

The script “append-only-large.sh” creates larger documents.

Something went wrong with that request. Please try again.