Code Monkey home page Code Monkey logo

benchrs's People

Contributors

arkaitzj avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pyjcode

benchrs's Issues

index out of bounds: the len is 0 but the index is 0

Hey there, great tool!

unfortunately I do encounter a little error:

$ benchrs -v "http://localhost:8080/"
18:00:15.289 [INFO] benchrs:0.1.7
18:00:15.289 [INFO] Spawning 8 threads
18:00:15.326 [DEBUG] (9) benchrs::fetcher: Fetcher 0 started
18:00:15.337 [DEBUG] (9) benchrs: Producer starting..
18:00:15.337 [DEBUG] (9) benchrs: Producer finalised
18:00:15.339 [ERROR] 1 fetchers failed and 0 succeeded:
Err(Connecting

Caused by:
    Connection refused (os error 61))
...
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /Users/sassmann/.cargo/registry/src/github.com-1ecc6299db9ec823/benchrs-0.1.7/src/main.rs:176:26
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'task has failed', /Users/sassmann/.cargo/registry/src/github.com-1ecc6299db9ec823/smol-0.1.18/src/task.rs:272:55

Note: I tried also to install with cargo install benchrs --locked but ran into the same issue.

$ benchrs --version
Benchrs 0.1.7

smol is meanwhile at version 1.2.5 and is probably very worth to upgrade.

BTW: A little recommendation from rustacean to the other: I use dependabot to keep my dependencies updated on my crates, and that has made my life so much more easier.

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.