Skip to content

Instantly share code, notes, and snippets.

@leetreveil
leetreveil / benchbulk.sh
Created September 7, 2012 16:07 — forked from jchris/benchbulk.sh
benchmarking CouchDB bulk inserts in bash
#!/bin/bash
# usage: time benchbulk.sh dbname
# it takes about 30 seconds to run on my old MacBook
BULKSIZE=1000
DOCSIZE=100
INSERTS=10
ROUNDS=10
DBURL="http://localhost:5984/$1"