This is just an off the cuff hack at something I'm interested in. Don't take it seriously, we all know about benchmarking.
Testing with CouchDB 1.0, OS X 10.6.4, Intel X-25M SSD
The list and view are as simple as can be:
// List
function(head, req) {
while(row = getRow()) {
send(row.value);
}
}
// View
function(doc) {
emit(doc._id, doc);
}
And the docs contain two simple elements.
Why shell script? Because curl is fast, and this is quick and nasty.