Questions tagged [speed-test]

Command line interface for testing internet bandwidth using speedtest.net. Speedtest on pypi.org

103 questions
2
votes
2 answers

What is a low impact way of checking if the internet is really slow in python?

I have a python script which I run as a background process on my mac every 10 minutes. Basically, it downloads the latest image from a server and depending on my internet speed, it downloads a hi-res (20mb on 5Mb/s connections or better) or low-res…
Scott Wilton
  • 253
  • 4
  • 11
2
votes
1 answer

How can I download an "unlimited" amount of data for x seconds in PHP/Javascript?

I am attempting to create a speed test server that can be used across a LAN with speeds ranging from 10 Mbps (Wi-Fi) up to 10 Gbps (Servers in our datacenter) and can be accessed from Mac, Windows, iOS, and Android. I'd like to test speed by…
Phillip Boushy
  • 445
  • 1
  • 4
  • 14
2
votes
1 answer

How to measure wifi LAN speed?

I am trying to open a sender / receiver socket on the same device and send a 64k packet to the router then receive it back. The key is packet should go through router. So I will be able to tell user something about his local wifi speed. Here is what…
Onuray Sahin
  • 4,093
  • 4
  • 33
  • 34
2
votes
1 answer

Lua string to number parsing speed optimization

I am trying to make a speedtest using Lua as one of the languages and I just wanted some advice on how I could make my code a bit faster if possible. It is important that I do my own speedtest, since I am looking at very specific parameters. The…
HolgerS
  • 87
  • 7
2
votes
1 answer

Slow upload speeds on Windows 7

I was stumped. At work, my Windows 7 laptop with an Atheros AR8152/8158 PCI-E Fast Ethernet Controller was clocking download speeds of 10+ Mbps but upload speeds were less than 1 Mbps. At home on my cable internet, both speeds were 12+ Mbps. BTW,…
Mike Jr
  • 1,789
  • 3
  • 14
  • 21
1
vote
3 answers

Speed of printf()

I was having some fun in C language with time.h library, trying to measure the number of clock ticks of some basic functions, just to figure out how fast they actually are. I used the clock() function. In this case I was measuring the printf()…
Jeyekomon
  • 2,878
  • 2
  • 27
  • 37
1
vote
1 answer

Internet Speed Test App from AS3

I need to create a internet speed test application in Actionscript 3.0, like Speed Test I need to calculate 1. Download speed 2. Upload speed 3. Latency (Round Trip Time) 4. Jitter 5. Packet loss 6. Network availability From where I should…
1
vote
0 answers

Why is map (slightly) faster then list comprehension in python

I ran into this question about converting ints to floats, and wondered which of the suggested solutions would be faster (and I also was converting to ints, not from them). The code used was this, in ipython: In [1]: import numpy as np In [2]: a1…
Chiffa
  • 1,486
  • 2
  • 19
  • 38
1
vote
1 answer

How to create a gauge using Kivy?

I want to make an internet speed test application for Android with Python. I have done the back-end side but I have a hard time with the front-end. After research, I decided to use the Kivy framework, however, I need guidance on how to create a…
Esra Issam
  • 17
  • 5
1
vote
2 answers

Understand ookla speedtest json values

I'm having some difficulties matching the json results with the values shown on the website: I run the test with speedtest -f json-pretty -u bps { "type": "result", "timestamp": "2022-03-16T01:40:00Z", "ping": { "jitter":…
Syco
  • 799
  • 2
  • 14
  • 23
1
vote
0 answers

Slow download speed in Flutter Android

I am making speedtest application with Flutter. I tried dio and http libraries. While I get full speed on iOS, I get at least 35% - 50% lower values on Android. I tried many ways, I read articles for hours, but I couldn't find a solution. I made a…
1
vote
1 answer

Using a fixed server ID with OOkla speedtest-cli

Some time ago, I set up a Linux task to run speedtest-cli every 30 minutes to figure out a network issue. The task used the "--server ID" argument to get the speed to the same server each time. I used it for a while then forgot about it. Today I go…
1
vote
0 answers

Page speed insights is not giving results

I have tested more than 10 shopify stores urls, but for every store I am getting an error. Lighthouse returned error: NOT_HTML. The page provided is not HTML (served as MIME type text/plain) I am not getting speed results.... What is the issue in…
1
vote
0 answers

Using speedtest or speedtest-cli on Pythonista

I am trying to make an iOS shortcut that would notify me of the current internet speed. I thought of using speedtest module on Pythonista 3 by installing it using StaSh. pip install speedtest Querying PyPI... Error: Version not found: speedtest I…
aarnavg17
  • 19
  • 2
1
vote
2 answers

AttributeError: module 'speedtest' has no attribute 'Speedtest'

As the title says, I'm getting this error when trying to run this simple Python code: import speedtest r = speedtest.Speedtest() Which results in Traceback (most recent call last): File "c:/Users/XXXX/YYYYYY/VSCode/Poli.py", line 3, in r…
LFSS
  • 115
  • 1
  • 7