Skip to content

Conversation

@berrnd
Copy link

@berrnd berrnd commented May 24, 2024

Resubmit of #608

Hi and first thanks a lot for LibreSpeed!

I wanted to show how much data volume the upload / download test used. So I've added 2 properties to the speedtest_worker.js status data object:

  • dlBytes: Total number of bytes downloaded
  • ulBytes: Total number of bytes uploaded

This also includes data during dlGraceTime / ulGraceTime.

Could look like that (a live example is available here):

firefox_2024-04-03_20-11-11.mp4

@sstidl
Copy link
Collaborator

sstidl commented May 25, 2024

hi @berrnd

thank you for resubmitting.
can you also provide the changes needed to actually use the new feature?
i briefly looked at your code at the example but i am not the pro in reverse engineering ;-)

Based on `example-singleServer-pretty.html`
@berrnd
Copy link
Author

berrnd commented May 25, 2024

I've added a new example example-singleServer-showUsedDataVolume.html (based on / an extended copy of example-singleServer-pretty.html) to showcase displaying the data amount used during the download / upload speed test.

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