beradrian / jsbandwidth Goto Github PK
View Code? Open in Web Editor NEWTest bandwidth inside your browser
Test bandwidth inside your browser
I notice in the npm package there are a couple of extra files:
Are these files used as source at all, or are the .js versions the right source at the moment?
http://en.wikipedia.org/wiki/Megabit
To get Mbit, one should divide /(1000*1000) instead of /(1024*1024).
Please fix it in default.htm
Original issue reported on code.google.com by [email protected]
on 9 Jul 2010 at 7:01
Hi,
Do I have to create a new route '/test' in server? I created a simple webserver with express which serves static files.
var express = require('express');
var app = express();
app.use(express.static('client'));
app.listen(2222);
console.log('Server running at http://localhost:2222/');
But I am getting a 404. It makes a request in this http://localhost:2222/test?id=1448291994940
A working demo would be appreciated.
Possible solutions:
Some browsers do not support the length attribute on binary data.
Hard code the size as fallback
Original issue reported on code.google.com by [email protected]
on 17 Apr 2013 at 9:22
Attachments:
The postinstall script defined in the package.json makes a call to run babel, but babel is listed as a devDependency causing npm install
to fail.
I've got a Uncaught TypeError: r.then is not a function
, after the warning Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.
.
And then, the script stop running.
Testing on chrome with local javascript file.
Extend functionality to test a p2p connection. This is done using WebRTC and data connection.
It's very inacurate for speeds over 40Mbps. It says 40Mbps when on 80Mbps line
and on localhost never tells more than 150Mbps (other similar tools are saying
3Gbps). Even adobe flash meters are more acurate... I think that there is much
potential in javascript speedtests, because flash is shit. I've been messing
around a bit with jsbandwidth but it's still inacurate when compared to other
tools like (wget, iperf, mikrotik/ubnt bandwidth tests, speedtest.net, etc...).
On some places it gives simillar results, but on others it does not.
Original issue reported on code.google.com by [email protected]
on 22 Nov 2012 at 12:20
Hi,
I can't get jsbandwidth work in browser. if I add jsbandwidth.js in browser in gives "unexpected token import" error.
http://i.imgur.com/W3xNUAA.png
$ npm install jsbandwidth --save
npm http GET https://registry.npmjs.org/jsbandwidth
npm http 304 https://registry.npmjs.org/jsbandwidth
npm http GET https://registry.npmjs.org/extend
npm http GET https://registry.npmjs.org/xhrpromise
npm http 304 https://registry.npmjs.org/extend
npm http 304 https://registry.npmjs.org/xhrpromise
> [email protected] postinstall /var/www/node_modules/jsbandwidth/node_modules/xhrpromise
> npm run babel
> [email protected] babel /var/www/node_modules/jsbandwidth/node_modules/xhrpromise
> node_modules/.bin/babel src/main/js/xhrpromise.js -o index.js --presets es2015 --plugins babel-plugin-add-module-exports
sh: 1: node_modules/.bin/babel: not found
npm ERR! weird error 127
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! weird error 1
npm ERR! not ok code 0
Hi hopefully you can help me,
ive got the JS bandwidth working well for latency and download but im having trouble with upload.
If i do a console.write you can see that i just cant have a upload speed of 176Mbps when i have a download of 4.00 Mbps
downloadSpeed: 4191926.462636531
latency: 10
uploadSpeed: 184584495.23809525
when looking in chromes dev concole undernetwork the post test only sends only about 203bytes which seems really odd.
Can you help at all?
Thanks
Trev
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.