Permalink
Switch branches/tags
Nothing to show
Commits on Apr 21, 2012
  1. Add options --query-url and --query-body

    fdmanana committed Apr 21, 2012
    This is more flexible and allows to query view URLs other
    than those from Couchbase Server - useful to compare view
    query performance with CouchDB's view merge URLs for example:
    
    $ ./run --query-url 'http://localhost:5984/_view_merge?limit=10&stale=update_after' \
        --query-body '{ "views": { "sets": { "default": { "view": "test/view1", "partitions": [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63] } } } }' --queries 1000 --workers 1
    Spawning 1 workers, each will perform 1000 view queries
    View query URL is:  http://localhost:5984/_view_merge?limit=10&stale=update_after
    
    Waiting for workers to finish...
    
    All workers finished. Final statistics are:
    
        Average response time:   1.7538990000000025ms
        Highest response time:   44.894ms
        Lowest response time:    1.494ms
        Response time std dev:   1.5118332886925727ms
        # of errors:             0
    
    Bye!
    $
Commits on Apr 20, 2012
Commits on Apr 18, 2012
  1. Add option --output-times

    fdmanana committed Apr 18, 2012
    This option outputs all the query response times into a
    text file, where each line has one response time.
    This file is useful to feed into the ministat program
    (FreeBSD, Minix, Mac OS X port, etc), which provides
    confidence level analysis.
Commits on Apr 17, 2012
  1. Add command line argument parsing for some parameters

    fdmanana committed Apr 17, 2012
    The following parameters can now be passed via command line
    arguments to the script:
    
    -h
    --help
    --host
    --port
    --workers
    --queries
Commits on Apr 6, 2012
  1. Added README.md

    fdmanana committed Apr 6, 2012
  2. Initial import

    fdmanana committed Apr 6, 2012