syft.js icon indicating copy to clipboard operation
syft.js copied to clipboard

Upload speed test hangs

Open vvmnnnkv opened this issue 5 years ago • 2 comments

Description

Separated from #148:

The upload speed test takes extremely long and blocks the whole machine. I had to manually kill my chrome process to exit the syft.js tab. This is weird because the 64MB buffer you created should not take too long to send to a localhost server. I solved this by just returning Promise.resolve(1000) in the getUploadSpeed function.

@erksch Could you provide more details? OS and Browser version?

How to Reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System Information

  • OS: [e.g. iOS]
  • OS Version: [e.g. 22]
  • Language Version: [e.g. Python 3.7, Node 10.18.1]
  • Package Manager Version: [e.g. Conda 4.6.1, NPM 6.14.1]

Additional Context

Add any other context about the problem here.

vvmnnnkv avatar Jun 07 '20 10:06 vvmnnnkv

@erksch could you add context here?

cereallarceny avatar Jun 08 '20 11:06 cereallarceny

Yes! Sorry, I am a little bit occupied at the moment, I hope to try it again and give more details in the next days.

erksch avatar Jun 08 '20 13:06 erksch