GithubHelp home page GithubHelp logo

perfer's People

Contributors

ohler55 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

junxie6

perfer's Issues

Simple usage example doesn't work

Hi @ohler55

Thanks for this tool.

But i think it's doesn't work right!

Command: perfer -t2 -c2 -d2 http://localhost:4000

Results:

~ perfer -t2 -c2 -d2 http://localhost:4000 
*-*-* Only one URL is allowed.

usage: perfer [options] <server-address>

Saturates a web server with HTTP requests while tracking the number of requests,
latency, and throughput. After the duration specified no more requests are sent
and the application terminates when all responses have been received or 10
seconds, which ever is sooner.

  -h                      This help page.
  --help

  -v                      Verbose mode.

  --version               Version of this application.

  -d <duration>           Duration in seconds for the run. Positive decimal
  --duration <duration>   values are accepted.

  -m <rate>               Set a metering rate in request per second.
  --meter <rate>          (default: 0, indicating no metering)

  -t <number>             Number of threads to use for sending requests and
  --threads <number>      receiving responses. (default: 1)

  -c <number>             Total number of connection to use for sending
  --connections <number>  requests (default: 1)

  -b <number>             Maximum backlog for pipeline on a connection.
  --backlog <number>      (default: 1, range 1 - 15)

  -l <percent,...>        Percentages of latency spread to report.
  --latency <percent,...> (example: 10,20,30,40,50,60,70,80,90,99)

  -g <wide>x<high>        Print a latency graph with the dimensions specified.
  --graph <wide>x<high>

  -r <file>               File with the full content of the HTTP request.
  --request <file>        The -keep-alive option is ignored.

  -k                      Keep connections alive instead of closing.
  --keep-alive

  -a <name: value>        Add an HTTP header field with name and value.
  --add <name: value>

  -p <content>            HTTP POST with the content provided.
  --post <content>        example: -p 'mutation { repeat(word: "Hello") }'

  -j                      JSON output.
  --json

  <url>                   URL for requests.
                          example: http://localhost:6464/index.html

Or i'm doing something wrong?

Always Says Only one URL is allowed

This command: ./bin/perfer --threads 4 --connections 20 --path index.html http://locahost:3000

I get this response:

*-*-* Only one URL is allowed.                                                         

usage: ./bin/perfer [options] <server-address>           
...

I'm following the docs. This should run the benchmark right?

HTTPS and Socks5

Hey,

looks fine so far. Would be nice if you could intigrate socks5 proxy support like a proxy file and SSL support. Need it for testing my Cluster. You may add a contact optin like Skype discrod IRC...

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.