Giter VIP home page Giter VIP logo

autoperf's Issues

don't work

Hello. I get a error:

root@kubernetes-master:/autoperf# ruby autoperf.rb -c replay_sample.conf 
Traceback (most recent call last):
        2: from autoperf.rb:8:in `<main>'
        1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- ruport (LoadError)
root@kubernetes-master:/autoperf# ruby autoperf.rb -c requests_sample.conf 
Traceback (most recent call last):
        2: from autoperf.rb:8:in `<main>'
        1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- ruport (LoadError)

autoperf.rb:98:in `step': step can't be 0 (ArgumentError)

I've followed the instructions in the README, and I get the following error:

$ ruby autoperf.rb -c autoperf.conf 
autoperf.rb:98:in `step': step can't be 0 (ArgumentError)
    from autoperf.rb:98:in `run'
    from autoperf.rb:21:in `initialize'
    from autoperf.rb:113:in `new'
    from autoperf.rb:113:in `<main>'

Empty reports

When running autoperf.rb with request_sample.conf against a standard Rails app I get empty results.

ruby autoperf.rb -c request_sample.conf
httperf --hog --server=localhost --uri=/cards/check_balance --port=3000 --num-conns 50 --num-calls 1 --timeout 5 --rate 150
sh: line 1: 72983 Segmentation fault: 11 httperf --hog --server=localhost --uri=/cards/check_balance --port=3000 --num-conns 50 --num-calls 1 --timeout 5 --rate 150 2>&1
+-----------------------------------------------------------------------------+
| rate | conn/s | req/s | replies/s avg | errors | 5xx status | net io (KB/s) |
+-----------------------------------------------------------------------------+
| 100 | | | | | | |
| 150 | | | | | | |
+-----------------------------------------------------------------------------+

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.