Giter VIP home page Giter VIP logo

Comments (4)

alexfernandez avatar alexfernandez commented on September 4, 2024

Hi,

I cannot reproduce your issue: I run bin/loadtest.js from the package root against the node.js sample server and got this:

 $ node bin/loadtest.js --rps 2000 http://localhost:1337
[Mon Feb 03 2014 00:59:17 GMT+0100 (CET)] INFO Requests: 0, requests per second: 0, mean latency: 0 ms
[Mon Feb 03 2014 00:59:22 GMT+0100 (CET)] INFO Requests: 9859, requests per second: 1972, mean latency: 0 ms
[Mon Feb 03 2014 00:59:27 GMT+0100 (CET)] INFO Requests: 19891, requests per second: 2006, mean latency: 0 ms
[Mon Feb 03 2014 00:59:32 GMT+0100 (CET)] INFO Requests: 29775, requests per second: 1972, mean latency: 0 ms

and so on. Same thing if I install globally and run with loadtest --rps 2000 http://localhost:1337. It runs beautifully!

A few questions:

  • What operating system are you on?
  • What version of loadtest in package.json?
  • What command are you exactly running, node bin/loadtest.js ...?

Please send any other info you think can help pinpoint the issue. Thanks!

from loadtest.

jchannon avatar jchannon commented on September 4, 2024

I'm on OS X Mavericks
Version 0.2.8
I change directory to bin then call node loadtest --rps 2000 http://localhost:1337

from loadtest.

alexfernandez avatar alexfernandez commented on September 4, 2024

I finally got to reproduce this issue on a Mac OS X Maverick, it behaves exactly as you report. It is not supposed to fail like that, but then, at that point the system is so thoroughly overloaded that it does not answer for a while. The reason for --rps is to find the point at which the server still answers in time, and this is clearly beyond that point.

Still, worth taking a look. I will leave this issue open.

from loadtest.

alexfernandez avatar alexfernandez commented on September 4, 2024

On second thought, range errors are quite hard to pinpoint and the value in doing it is not clear to me. I am closing, please reopen if it is still an issue for you.

from loadtest.

Related Issues (20)

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.