Reduce amount of time for executing blocks

This commit is contained in:
Tim Mickel 2016-05-05 13:09:37 -04:00
parent 387c36d99e
commit dd53b86b8c
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ util.inherits(Runtime, EventEmitter);
/**
* How rapidly we try to step threads, in ms.
*/
Runtime.THREAD_STEP_INTERVAL = 1000 / 60;
Runtime.THREAD_STEP_INTERVAL = 1000 / 30;
/**
* Block management: create blocks and stacks from a `create` event

View file

@ -22,7 +22,7 @@ function Sequencer (runtime) {
* In Scratch 2.0, this is set to 75% of the target stage frame-rate (30fps).
* @const {!number}
*/
Sequencer.WORK_TIME = 1000 / 60;
Sequencer.WORK_TIME = 10;
/**
* Step through all threads in `this.threads`, running them in order.