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

100% CPU usage

Open thijzert opened this issue 12 years ago • 1 comments

As soon as I load up the page, my fans start spinning, and htop reports the emulator is hogging one of my cpus. Is it tightlooping somewhere?

thijzert avatar Apr 08 '12 20:04 thijzert

Every 16ms it performs 1000 single-cycle instruction decodes to simulate a 62.5kHz machine so it's hitting the CPU pretty hard. Chrome performs much, much faster than Firefox, though.

I may take a look at making this a little lighter...

dwilliamson avatar Apr 08 '12 21:04 dwilliamson