observing / thor

The WebSocket god of thunder
MIT License
1.29k stars 154 forks source link

add new index in metrics result and change the parameters passed in Metrics constructor #24

Open jameswei opened 8 years ago

jameswei commented 8 years ago
  1. add 'requests per second' in metrics result, I think the qps might be an important index of benchmark tool.
  2. the constructor of Metrics should be passed the total amount of requests, but actually is new Metrics(cli.amount * cli.args.length). I think it should be new Metrics(cli.amount * cli.messages)