Questions tagged [download-speed]

The rate of digital data transfer from an internet source to a device requesting the data. Use this tag for programmatic challenges involving this speed, for example calculating it or controlling it.

Download speed is a metric used to quantify the amount of data being loaded into the client computer from the server. Units usually used for download speed are bytes per second (contrary to link bandwidth which is usually given in bits per second).

39 questions
284
votes
12 answers

How to detect internet speed in JavaScript?

How can I create a JavaScript page that will detect the user’s internet speed and show it on the page? Something like “your internet speed is ??/?? Kb/s”.
Sharon Haim Pour
  • 6,595
  • 12
  • 42
  • 64
38
votes
6 answers

HTTPS vs HTTP speed comparison

Update 2013-04-25: This is a popular question that is getting more attention than it probably should. In order to stop the spread of misinformation please read the following paragraphs and the accompanying article first: Speed should not be a factor…
David Murdoch
  • 87,823
  • 39
  • 148
  • 191
17
votes
4 answers

Change text displayed by QProgressBar

I use a QProgressBar to show the progress of a download operation. I would like to add some text to the percentage displayed, something like: 10% (download speed kB/s) Any idea?
Kazuma
  • 1,371
  • 6
  • 19
  • 33
17
votes
3 answers

How to measure download speed and progress using requests?

I am using requests to download files, but for large files I need to check the size of the file on disk every time because I can't display the progress in percentage and I would also like to know the download speed. How can I go about doing it ?…
Mayank Kumar
  • 1,133
  • 3
  • 13
  • 20
10
votes
2 answers

How to programmatically limit the download speed?

I use the following code to limit the download speed of a file in java: package org; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; class MainClass { public static void…
Hadi
  • 544
  • 1
  • 8
  • 28
4
votes
7 answers

How can I find out the download speed of the client from server?

According to the client's download speed I want to show the video's either in low or high quality. Any Javascript or C# solution is acceptable. Thanks.
Ali Ersöz
  • 15,860
  • 11
  • 50
  • 64
4
votes
0 answers

NodeJS request / request-progress file download slows down to almost zero

We have a specific piece of NodeJS software which downloads files to it's local filesystem. The files can very from a few KB's to GB's. Sometimes, for no apparent reason the download speeds becomes really slow. The actual connection is quite decent…
Sneeper
  • 41
  • 2
3
votes
0 answers

How can i Limit Trafic Speed On my linux VPN Server - ( x -ui Server )

i am using v2ray x-ui panel for my vpn server. one port have only one user thinking about Apply MAX Download / Upload speed on every port . how can i do that .
Shahin
  • 31
  • 2
3
votes
2 answers

Laravel Limit Client Download Speed (Bandwidth throttling)

In Laravel, I can download using response()->download(); But is there any way to limit client speed?
3
votes
1 answer

How to test the download speed to a specific server in another country?

The question is simple: I have a HTTP server hosted in country A where I'm living in, then is there any facility/tool/service that I can use to test the download speed in another country B? The story is, we have one customer in Istanbul, Turkey who…
Wei WANG
  • 1,748
  • 19
  • 23
3
votes
1 answer

How to calculate download speed with cURL progress_callback (PHP)

I'm using cURL to upload a file via given URL. (user gives URL, and my server downloads the file) For a progressbar, I use the CURLOPT_PROGRESSFUNCTION option. I want the function of the progress to also calculate the speed of download, and how much…
HTMHell
  • 5,761
  • 5
  • 37
  • 79
3
votes
3 answers

Get Download and Upload Speeds C#

I'm looking for a class or a library or anything that will allow me to get the current download speed, I've tried a lot of code from the net including FreeMeter but can't get it to work. Can some provide any sort of code just to give this simple…
Sandeep Bansal
  • 6,280
  • 17
  • 84
  • 126
2
votes
0 answers

Does serving MIME type images improves loading speed, what benefits

I am wondering if including MIME types images, instead of the images themselves, helps improve the loading speed in the page? What are advantages of serving encoded MIME types instead of original files? Thank you,
IberoMedia
  • 2,226
  • 7
  • 36
  • 61
2
votes
0 answers

Swift - How to get the upload speed and not download speed?

i want to know how to get upload speed in swift. Actually i have this code from Right way of determining internet speed in iOS 8 class SpeedTest: UIViewController, URLSessionDelegate, URLSessionDataDelegate { typealias…
kirusamma
  • 119
  • 11
2
votes
0 answers

Approach used to estimate download remaining time in applications (such as browsers)

I am just wondering why the initial estimation of the remaining time of each download in most (if not all) applications is only based on the current download speed of the particular download and does not take into account the other concurrent…
E-O
  • 43
  • 6
1
2 3