Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got "NaN" for latency #53

Open
Shivakishore14 opened this issue Jun 28, 2018 · 1 comment
Open

Got "NaN" for latency #53

Shivakishore14 opened this issue Jun 28, 2018 · 1 comment

Comments

@Shivakishore14
Copy link

Shivakishore14 commented Jun 28, 2018

I am trying to test a echo websocket written in java.
this is the command that i gave thor --amount 1000 --messages 100 ws://localhost:8085/web-soc/websocketendpoint
(the echo websocket server is working fine)

Result

Thor:                                                  version: 1.0.0

God of Thunder, son of Odin and smasher of WebSockets!

Thou shall:
- Spawn 8 workers.
- Create all the concurrent/parallel connections.
- Smash 1000 connections with the mighty Mjölnir.

The answers you seek shall be yours, once I claim what is mine.

Connecting to ws://localhost:8085/web-soc/websocketendpoint



Online               5988 milliseconds
Time taken           5989 milliseconds
Connected            1000
Disconnected         0
Failed               0
Total transferred    333.98kB
Total received       329.1kB

Durations (ms):

                     min     mean     stddev  median max
Handshaking          122     379         257     294 5694
Latency              NaN     NaN         NaN     NaN NaN

Percentile (ms):

                      50%     66%     75%     80%     90%     95%     98%     98%    100%
Handshaking          294     398     491     558     718     775     816     833     5694
Latency              NaN     NaN     NaN     NaN     NaN     NaN     NaN     NaN     NaN

Here latency is NaN, what might be the reason for this issue ?

@venukanaparthy
Copy link

I am getting the same issue, Latency is NaN. Downgrading fast-stats to 0.0.1 does not seem to help.
Appreciate any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants