简体   繁体   中英

How to detect download and upload speed with Javascript

I am looking to create a relatively simple connection speed test wherein the user clicks a button and we have them download a few files, and then once that is done, we then initiate an upload back to us.

I have a seen a lot of various answers and methods for doing this with Javascript, JQuery, etc. What is the best way to accomplish the goal? I am fairly new to Javascript and web programming in general.

我会使用LogNormal的boomerang.js版本-https: //github.com/lognormal/boomerang

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM