Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pcmid
Copy link
Contributor

@pcmid pcmid commented Oct 25, 2021

When expressed in Mbps, it means megabits per second whitch should be the number of bytes multiplied by 8

@ikatson
Copy link
Owner

ikatson commented Oct 25, 2021

Thanks @pcmid for the PR.

This was intentional, as I'm interested in megabytes per second, not megabits per second. A quick google suggests "Mbps" usually means megabits per second, while "MBps" or "MB/s" is megabytes per second.

Instead of multiplying by 8, can you change the string "Mbps" to e.g. "MB/s"?

@pcmid
Copy link
Contributor Author

pcmid commented Oct 25, 2021

It's my pleasure.

@pcmid
Copy link
Contributor Author

pcmid commented Oct 25, 2021

BTW, it’s not a good idea to abbreviate download_bytes_per_second to download_bps. It makes me a little confused.

@ikatson ikatson merged commit 81cf94b into ikatson:main Oct 25, 2021
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

Successfully merging this pull request may close these issues.

2 participants