Is there an emulator (VM) out there that can "restrict" processing power?

1

I've developed some JavaScript to test the ability of a computers processing by comparing "perfect" times (0 lag, doesn't exist) and "real" times (how long it actually took).

Now I need something to test it to see what's what.

Is there something out there that restricts power so that I may emulate what kind of lag a slower system would use?

i.e., restrict to 2.2ghz processor with 4gb RAM

kcdwayne

Posted 2014-03-25T23:47:07.667

Reputation: 111

Any recommendations besides Oracle's VirtualBox? Preferably something that's just a simulator and doesn't require major setups? – kcdwayne – 2014-03-26T13:52:09.843

Answers

1

Using Oracle's VirtualBox you can limit the VMs RAM, the amount of cores and the CPU time in percent.

skulblakka

Posted 2014-03-25T23:47:07.667

Reputation: 43

I forgot all about this program. Haven't used it since Windows XP - gonna try it out! :) – kcdwayne – 2014-03-26T13:44:26.213

Now I remember. You have to install OS's in partitions. If there are no other options I guess this will work. Wouldn't hurt to have it for cross-browser testing older software anyway. – kcdwayne – 2014-03-26T13:51:22.630