forked from teddysun/across
-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
395 lines (376 loc) · 17.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>nws.sh | Speedtest Benchmark Script</title>
<link rel="stylesheet" href="https://stackedit.io/style.css" />
<style>
.stackedit__html {
max-width: 870px;
}
</style>
</head>
<body class="stackedit">
<div class="stackedit__html"><h1 id="network-speed.xyz">nws.sh</h1>
<p><a href="https://hits.seeyoufarm.com"><img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fnetwork-speed.xyz&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=Visitors&edge_flat=false" alt="Hits"></a></p>
<p>Your Reliable Script for Comprehensive Network Performance Testing.</p>
<h2 id="features">Features</h2>
<ul>
<li>System Overview: Quick snapshot of your device's core hardware components like CPU, RAM, Disk and more.</li>
<li>Network Overview: Detailed information including your protocol type (IPv4/v6), ISP, geographical location and other network-based data.</li>
<li>Comprehensive Speedtest: Perform an all-encompassing speedtest using the renowned Ookla speedtest.net service to servers around the world, presenting metrics such as speed, latency and packet loss.</li>
<li>Regional Speedtest: Get a regional perspective towards your network performance with tests targeted towards specific parts of the world, currently including:
<ul>
<li>North America</li>
<li>South America</li>
<li>Europe</li>
<li>Asia</li>
<li>Africa</li>
<li>Australia</li>
<li>GCC Middle East</li>
<li>India</li>
<li>China</li>
<li>Iran</li>
<li>Indonesia</li>
<li>More coming soon!</li>
</ul>
</li>
<li>Statistical Insights: At-a-glance summary of your network's performance metrics, including speed, data usage, and test duration.</li>
<li>Shareability: Want to share your results? No worries, each test provides you with a handy shareable link.</li>
</ul>
<p>
I would like to express my heartfelt thanks to our awesome sponsors for their invaluable support:
<ul>
<li><a href="https://zip.xbit.win/go/crunchbits">Crunchbits</a> for generously sponsoring the hosting infrastructure.</li>
<li><a href="https://zip.xbit.win/go/incognet">IncogNET</a> for kindly sponsoring the domain name.</li></ul>
<!-- <p>Big Thanks and shout out to <a href="https://zip.xbit.win/go/crunchbits">Crunchbits LLC</a> for sponsoring the Hosting Infrastructure.<br> -->
Thanks to Teddysun <a href="mailto:[email protected]">[email protected]</a> for the base <a href="http://bench.sh">bench.sh</a> script</p>
<h2 id="usage">Usage</h2>
<h3 id="global-speedtest-default">Global Speedtest (default)</h3>
<pre><code>curl -sL nws.sh | bash
</code></pre>
<pre><code>wget -qO- nws.sh | bash
</code></pre>
<h3 id="regional-speedtest">Regional Speedtest</h3>
<p>region_name = na, sa, eu, asia, africa, au, middle-east, india, china, iran, indonesia</p>
<pre><code>curl -sL nws.sh | bash -s -- -r region_name
</code></pre>
<pre><code>wget -qO- nws.sh | bash -s -- -r region_name
</code></pre>
<h3 id="example">Example:</h3>
<pre><code>wget -qO- nws.sh | bash -s -- -r india
</code></pre>
<h2 id="sample-output-global">Sample Output (Global)</h2>
<pre><code> ---------------------------- network-speed.xyz ----------------------------
A simple script to test network performance using speedtest-cli
---------------------------------------------------------------------------
Version : v2023.11.13
Global Speedtest : wget -qO- network-speed.xyz | bash
Region Speedtest : wget -qO- network-speed.xyz | bash -s -- -r <region>
---------------------------------------------------------------------------
Basic System Info
---------------------------------------------------------------------------
CPU Model : AMD EPYC 7763 64-Core Processor
CPU Cores : 5 @ 2445.406 MHz
CPU Cache : 512 KB
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
Total Disk : 98.9 GB (13.5 GB Used)
Total RAM : 9.7 GB (1.5 GB Used)
Total Swap : 3.0 GB (6.0 MB Used)
System uptime : 22 days, 1 hour 9 min
Load average : 1.13, 1.04, 1.00
OS : Ubuntu 22.04.3 LTS
Arch : x86_64 (64 Bit)
Kernel : 5.15.0-87-generic
Virtualization : KVM
---------------------------------------------------------------------------
Basic Network Info
---------------------------------------------------------------------------
Primary Network : IPv6
IPv6 Access : ✔ Online
IPv4 Access : ✔ Online
ISP : DataCamp Limited
ASN : AS60068 Datacamp Limited
ASN (IPv4) : AS212238 Datacamp Limited
Host : CDN77 Singapore
Location : Singapore, North West-03, Singapore
---------------------------------------------------------------------------
Speedtest.net (Region: GLOBAL)
---------------------------------------------------------------------------
Location Latency Loss DL Speed UP Speed Server
ISP: Nexeon Technologies
Nearest 1.30 ms 0.0% 9133.58 Mbps 8763.13 Mbps GSL Networks - Singapore
Kochi, IN 46.03 ms 0.0% 1815.47 Mbps 1667.91 Mbps Asianet Broadband - Cochin
Bangalore, IN 39.87 ms 0.0% 2587.68 Mbps 2090.24 Mbps Bharti Airtel Ltd - Bangalore
Chennai, IN 34.88 ms N/A 2530.71 Mbps 2311.70 Mbps Jio - Chennai
Mumbai, IN 52.76 ms 0.0% 2644.69 Mbps 1447.37 Mbps i3D.net - Mumbai
Delhi, IN 74.03 ms 0.0% 1864.22 Mbps 1161.09 Mbps Tata Teleservices Ltd - New Delhi
Seattle, US 189.59 ms N/A 2585.97 Mbps 404.03 Mbps Comcast - Seattle, WA
Los Angeles, US 173.89 ms 0.0% 1531.72 Mbps 459.14 Mbps ReliableSite Hosting - Los Angeles, CA
Dallas, US 206.32 ms 0.0% 1449.05 Mbps 406.50 Mbps Hivelocity - Dallas, TX
Miami, US 274.77 ms 0.0% 780.60 Mbps 335.97 Mbps AT&T - Miami, FL
New York, US 228.65 ms 0.0% 2017.60 Mbps 351.49 Mbps GSL Networks - New York, NY
Toronto, CA 238.10 ms 0.0% 1637.05 Mbps 341.69 Mbps Rogers - Toronto, ON
London, UK 169.41 ms 0.0% 2899.98 Mbps 365.17 Mbps VeloxServ Communications - London
Amsterdam, NL 168.70 ms 0.0% 2953.66 Mbps 389.57 Mbps 31173 Services AB - Amsterdam
Paris, FR 287.47 ms N/A 2163.78 Mbps 271.59 Mbps Axione - Paris
Frankfurt, DE 152.74 ms 0.0% 2909.40 Mbps 472.01 Mbps 23M GmbH - Frankfurt am Main
Warsaw, PL 266.11 ms 0.0% 1017.02 Mbps 282.95 Mbps UPC Polska - Warszawa
Bucharest, RO 173.10 ms 0.0% 2016.98 Mbps 473.37 Mbps Vodafone Romania Fixed – Bucharest - Bucharest
Jeddah, SA 224.96 ms 0.0% 2366.26 Mbps 382.92 Mbps Saudi Telecom Company
Dubai, AE 90.66 ms 0.0% 4545.20 Mbps 945.34 Mbps du - Dubai
Fujairah, AE 71.32 ms 0.0% 5358.82 Mbps 1037.11 Mbps ETISALAT-UAE - Fujairah
Tokyo, JP 72.36 ms N/A 2122.02 Mbps 932.90 Mbps fdcservers.net - Tokyo
Shanghai, CU-CN 205.94 ms 6.3% 1779.52 Mbps 285.10 Mbps China Unicom 5G - Shanghai
Nanjing, CT-CN 298.32 ms 6.7% 1415.25 Mbps 51.06 Mbps China Telecom JiangSu 5G - Nanjing
Hong Kong, CN 36.83 ms N/A 2109.93 Mbps 2223.66 Mbps STC - Hong Kong
Singapore, SG 2.04 ms 0.0% 7638.98 Mbps 8408.62 Mbps i3D.net - Singapore
Jakarta, ID 16.56 ms 0.0% 2752.70 Mbps 2874.44 Mbps PT. Telekomunikasi Indonesia - Jakarta
---------------------------------------------------------------------------
Avg DL Speed : 2763.99 Mbps
Avg UL Speed : 1449.48 Mbps
Total DL Data : 97.00 GB
Total UL Data : 44.52 GB
Total Data : 141.52 GB
---------------------------------------------------------------------------
Duration : 13 min 42 sec
System Time : 13/11/2023 - 22:57:57 WIB
Total Script Runs : 26997
---------------------------------------------------------------------------
Result : https://result.network-speed.xyz/r/1699890560_TTHK3D_GLOBAL.txt
---------------------------------------------------------------------------
</code></pre>
<h2 id="sample-output-regional">Sample Output (Regional)</h2>
<pre><code> ---------------------------- network-speed.xyz ----------------------------
A simple script to test network performance using speedtest-cli
---------------------------------------------------------------------------
Version : v2023.11.13
Global Speedtest : wget -qO- network-speed.xyz | bash
Region Speedtest : wget -qO- network-speed.xyz | bash -s -- -r <region>
---------------------------------------------------------------------------
Basic System Info
---------------------------------------------------------------------------
CPU Model : AMD EPYC-Rome Processor
CPU Cores : 16 @ 2799.998 MHz
CPU Cache : 512 KB
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
Total Disk : 1.2 TB (399.3 GB Used)
Total RAM : 62.8 GB (1.8 GB Used)
System uptime : 10 days, 20 hour 23 min
Load average : 0.31, 0.30, 0.22
OS : Ubuntu 22.04.3 LTS
Arch : x86_64 (64 Bit)
Kernel : 5.15.0-88-generic
Virtualization : KVM
---------------------------------------------------------------------------
Basic Network Info
---------------------------------------------------------------------------
Primary Network : IPv6
IPv6 Access : ✔ Online
IPv4 Access : ✔ Online
ISP : HIVELOCITY, Inc.
ASN : AS29802 HIVELOCITY, Inc.
Host : HIVELOCITY, Inc.
Location : Tampa, Florida-FL, United States
Location (IPv4) : New York City, New York, US
---------------------------------------------------------------------------
Speedtest.net (Region: NORTH AMERICA)
---------------------------------------------------------------------------
Location Latency Loss DL Speed UP Speed Server
ISP: HIVELOCITY
Nearest 32.13 ms 0.0% 969.65 Mbps 979.59 Mbps Ideatek Telcom - Wichita, KS
Vancouver, BC 60.61 ms N/A 967.70 Mbps 1135.93 Mbps TELUS - Vancouver, BC
Calgary, AB 71.34 ms N/A 979.29 Mbps 1150.40 Mbps Shaw Communications - Calgary, AB
Winnipeg, MB 33.30 ms 0.0% 981.48 Mbps 1033.50 Mbps Voyageur Internet - Winnipeg, MB
Toronto, ON 13.33 ms 0.0% 966.90 Mbps 1030.24 Mbps Bell Canada - Toronto, ON
Montreal, QC 18.62 ms 0.0% 965.83 Mbps 1033.81 Mbps Rogers Wireless - Montréal, QC
New York, NY 1.91 ms 0.0% 978.59 Mbps 1020.65 Mbps Surfshark Ltd - New York, NY
Ashburn, VA 8.02 ms 0.0% 978.66 Mbps 1025.62 Mbps Rackdog - Ashburn, VA
Charlotte, NC 29.94 ms 0.0% 982.01 Mbps 1017.43 Mbps Windstream - Charlotte, NC
Atlanta, GA 21.22 ms 0.0% 966.61 Mbps 1034.20 Mbps i3D.net - Atlanta, GA
Miami, FL 37.02 ms 0.0% 980.75 Mbps 1027.54 Mbps AT&T - Miami, FL
Dallas, TX 38.83 ms 0.0% 964.68 Mbps 1033.02 Mbps Hivelocity - Dallas, TX
Houston, TX 36.96 ms 0.0% 980.87 Mbps 1002.22 Mbps Ezee Fiber - Houston, TX
Kansas, MO 27.70 ms 0.0% 976.04 Mbps 986.15 Mbps Xiber LLC - Kansas City, MO
Minneapolis, MN 26.28 ms 0.0% 979.99 Mbps 1039.35 Mbps US Internet - Minneapolis, MN
Chicago, IL 19.75 ms 0.0% 968.92 Mbps 1029.48 Mbps Enzu.com - Chicago, IL
Cleveland, OH 18.24 ms 0.0% 981.91 Mbps 1030.18 Mbps Windstream - Cleveland, OH
Albuquerque, NM 47.87 ms N/A 972.68 Mbps 924.90 Mbps Comcast - Albuquerque, NM
Denver, CO 42.72 ms 0.0% 970.74 Mbps 1028.73 Mbps T-Mobile Fiber | Intrepid - Denver, CO
Portland, OR 74.28 ms N/A 994.76 Mbps 1064.18 Mbps CenturyLink - Portland, OR
Las Vegas, NV 72.70 ms N/A 989.92 Mbps 1122.41 Mbps Dish Wireless - Las Vegas, NV
Salt Lake, UT 60.37 ms N/A 949.70 Mbps 1114.76 Mbps Novva Data Centers - Salt Lake City, UT
Phoenix, AZ 56.70 ms 0.0% 984.85 Mbps 1081.14 Mbps Xiber LLC - Phoenix, AZ
Los Angeles, CA 63.88 ms 0.0% 977.44 Mbps 1097.49 Mbps ReliableSite Hosting - Los Angeles, CA
San Jose, CA 62.98 ms 0.0% 946.84 Mbps 1067.08 Mbps Misaka Network, Inc. - San Jose, CA
Seattle, WA 64.65 ms 0.0% 964.93 Mbps 1072.61 Mbps Misaka Network, Inc. - Seattle, WA
Anchorage, AK 95.29 ms 0.0% 939.39 Mbps 281.60 Mbps Alaska Communications - Anchorage, AK
Hermosillo, MX 79.29 ms 0.0% 979.21 Mbps 1129.69 Mbps Megacable - Hermosillo
Guadalajara, MX 82.03 ms 0.0% 962.44 Mbps 524.70 Mbps AT&T México - Guadalajara
Mexico City, MX 89.17 ms N/A 972.72 Mbps 790.31 Mbps INFINITUM - Mexico City
---------------------------------------------------------------------------
Avg DL Speed : 972.51 Mbps
Avg UL Speed : 996.96 Mbps
Total DL Data : 35.81 GB
Total UL Data : 40.86 GB
Total Data : 76.67 GB
---------------------------------------------------------------------------
Duration : 12 min 31 sec
System Time : 13/11/2023 - 14:59:22 UTC
Total Script Runs : 26990
---------------------------------------------------------------------------
Result : https://result.network-speed.xyz/r/1699887044_OLENJV_NA.txt
---------------------------------------------------------------------------
</code></pre>
<h2 id="sample-output-all-regions">Sample Output (All Regions)</h2>
<p>NA : <a href="https://result.network-speed.xyz/r/1694522045_QVORYM_NA.txt">https://result.network-speed.xyz/r/1694522045_QVORYM_NA.txt</a><br>
SA : <a href="https://result.network-speed.xyz/r/1694528715_JFU3T1_SA.txt">https://result.network-speed.xyz/r/1694528715_JFU3T1_SA.txt</a><br>
EU : <a href="https://result.network-speed.xyz/r/1694529083_9KFDDK_EU.txt">https://result.network-speed.xyz/r/1694529083_9KFDDK_EU.txt</a><br>
Asia : <a href="https://result.network-speed.xyz/r/1694528694_SIR554_ASIA.txt">https://result.network-speed.xyz/r/1694528694_SIR554_ASIA.txt</a><br>
Africa : <a href="https://result.network-speed.xyz/r/1694537113_747AYT_AFRICA.txt">https://result.network-speed.xyz/r/1694537113_747AYT_AFRICA.txt</a><br>
AU : <a href="https://result.network-speed.xyz/r/1694536652_DGXND8_AU.txt">https://result.network-speed.xyz/r/1694536652_DGXND8_AU.txt</a><br>
Middle East : <a href="https://result.network-speed.xyz/r/1699886816_J28SZ3_MIDDLE-EAST.txt">https://result.network-speed.xyz/r/1699886816_J28SZ3_MIDDLE-EAST.txt</a><br>
India : <a href="https://result.network-speed.xyz/r/1694530534_3C9IAU_INDIA.txt">https://result.network-speed.xyz/r/1694530534_3C9IAU_INDIA.txt</a><br>
China : <a href="https://result.network-speed.xyz/r/1694528635_EI46XX_CHINA.txt">https://result.network-speed.xyz/r/1694528635_EI46XX_CHINA.txt</a><br>
Iran : <a href="https://result.network-speed.xyz/r/1694528246_6GOL8A_IRAN.txt">https://result.network-speed.xyz/r/1694528246_6GOL8A_IRAN.txt</a><br>
Indonesia : <a href="https://result.network-speed.xyz/r/1695397374_P9DYIL_INDONESIA.txt">https://result.network-speed.xyz/r/1695397374_P9DYIL_INDONESIA.txt</a></p>
<h2 id="bandwidth-usage">Bandwidth Usage</h2>
<p>The script usually takes around 10-15 minutes to complete execution for global speedtest.<br>
Data usage is hard to estimate since it is completely dependant on the connection and location.</p>
<p>However, below is a very rough estimate - based on a few tests on different networks.</p>
<table>
<thead>
<tr>
<th>Port Speed (DL/UL)</th>
<th>Data Used</th>
<th>Country</th>
<th>Test Region</th>
</tr>
</thead>
<tbody>
<tr>
<td>10Gbps Symmetric</td>
<td>~130GB</td>
<td>SG</td>
<td>GLOBAL</td>
</tr>
<tr>
<td>5Gbps Symmetric</td>
<td>~60GB</td>
<td>KR</td>
<td>GLOBAL</td>
</tr>
<tr>
<td>1Gbps Symmetric</td>
<td>~40GB</td>
<td>US</td>
<td>GLOBAL</td>
</tr>
<tr>
<td>750Mbps Symmetric</td>
<td>~35GB</td>
<td>DE</td>
<td>GLOBAL</td>
</tr>
<tr>
<td>500Mbps Symmetric</td>
<td>~25GB</td>
<td>IN</td>
<td>GLOBAL</td>
</tr>
<tr>
<td>100Mbps Symmetric</td>
<td>~6GB</td>
<td>US</td>
<td>GLOBAL</td>
</tr>
<tr>
<td>–</td>
<td>–</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>2Gbps/250Mbps</td>
<td>~50GB</td>
<td>DE</td>
<td>GLOBAL</td>
</tr>
<tr>
<td>1Gbps/250Mbps</td>
<td>~35GB</td>
<td>CA</td>
<td>GLOBAL</td>
</tr>
<tr>
<td>–</td>
<td>–</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>10Gbps Symmetric</td>
<td>~440GB</td>
<td>DE</td>
<td>EU</td>
</tr>
<tr>
<td>10Gbps Symmetric</td>
<td>~400GB</td>
<td>NL</td>
<td>EU</td>
</tr>
<tr>
<td>1Gbps Symmetric</td>
<td>~50GB</td>
<td>UK</td>
<td>EU</td>
</tr>
<tr>
<td>–</td>
<td>–</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>10Gbps Symmetric</td>
<td>~240GB</td>
<td>SG</td>
<td>ASIA</td>
</tr>
<tr>
<td>–</td>
<td>–</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>10Gbps Symmetric</td>
<td>~150GB</td>
<td>SG</td>
<td>INDIA</td>
</tr>
<tr>
<td>–</td>
<td>–</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>1Gbps Symmetric</td>
<td>~55GB</td>
<td>US</td>
<td>NA</td>
</tr>
</tbody>
</table>
<br><br><br>
<center>
<a href="https://www.buymeacoffee.com/shsky97" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
</center>
</div>
</body>
</html>