DevToys-app / DevToysMac

DevToys For mac
MIT License
9.2k stars 354 forks source link

[BUG] Measure bug in Network Speed Tool #8

Closed RodrigoTomeES closed 2 years ago

RodrigoTomeES commented 2 years ago

Hello,

I think that Network Speed Tool doesnt work well beacuse if I have made a test with the speedtest.net website and I recived 434.17Mbps, you can see here -> https://www.speedtest.net/es/result/12711792775, but with DevToys I received only 33.84Mbps.

imagen

ObuchiYuki commented 2 years ago

Thanks for the Issue and contribution!

I was not able to reproduce the same issue in my environment. (All three tools returned close numbers.)

スクリーンショット 2022-02-04 18 12 15 スクリーンショット 2022-02-04 18 11 43 スクリーンショット 2022-02-04 18 11 36

It seems that if you run multiple Speed Test tools at the same time, one of the results will be slower than the other. I'd like to hear more about the situation in which you tested it.

RodrigoTomeES commented 2 years ago

Hi,

I have done the network speed tests separately. I have a M1 Mac, maybe the problem is related with this?

yaslab commented 2 years ago

Hi, I have the same issue.

I think this code starts a new test every 0.5 seconds. Then the bytesReceived property is reset to 0.0.

DevToys google netflix
ObuchiYuki commented 2 years ago

Thanks I'll check it up!

ObuchiYuki commented 2 years ago

@yaslab @RodrigoTomeES

DevToysMac is going to be an offline tool like DevToys for Windows, so this issue is closed. Sorry about that.