Added fine-grain timing for aspects of the bake. Improved efficiency of autobakes and moved output decoding into a worker.

This commit is contained in:
n1474335 2023-02-03 14:55:15 +00:00
parent 84f0750525
commit 0b2cb7e68c
9 changed files with 287 additions and 57 deletions

View file

@ -160,11 +160,9 @@ class App {
if (this.autoBake_ && !this.baking) {
log.debug("Auto-baking");
this.manager.input.inputWorker.postMessage({
action: "autobake",
data: {
activeTab: this.manager.tabs.getActiveTab("input")
}
this.manager.worker.bakeInputs({
nums: [this.manager.tabs.getActiveTab("input")],
step: false
});
} else {
this.manager.controls.showStaleIndicator();