Slow computer / browser performance for testing heavy javascript script

I am working on a javascript / html5 gif editor and I am wondering how I can test in a slower environment. It works fine on my computer, but since it uses heavy javascript and algorithms, I need to see if it works smoothly with a less powerful processor.

+6
source share
2 answers

I recommend setting up a virtual machine using VMware Player or VirtualBox . You can configure attributes such as processor speed, number of processor cores, and memory. This will help you test your code in slower environments.

+4
source

What a strange request! Usually people want faster and faster.

  • Using a virtual machine is a good solution here. This allows you to pinpoint how powerful a computer is and can create a very suitable testing environment for you.
  • If you want inefficiency, look no further than Internet Explorer. You just need to make sure that it supports your HTML5 and your JS.
  • It might also be a good idea to use older versions of some of the more convenient browsers.
  • In addition, and this is a bit of a hack, opening your program several times in one browser, perhaps this is something that needs to be studied. It will process RAM, and your processor will be under a lot of voltage and will not work as well as in a normal situation.

Just thought that I would throw away every sentence I could think of :)

+2
source

All Articles