1
0
Fork 0

Rewrite APU page to improve efficiency (proof of concept for future

updates). 25% improvement in average update time + considerably reduce
frequency and magnitude of update spikes
This commit is contained in:
Jonathan Redpath 2022-04-19 22:10:54 +01:00
parent 46b7ed448e
commit 7844a45886

View file

@ -168,7 +168,6 @@ var canvas_lowerECAMPageApu =
obj["APUN"].setColor(0.0509,0.7529,0.2941);
obj["APUN-needle"].setColor(0.0509,0.7529,0.2941);
}
obj["APUEGT"].setColor(0.0509,0.7529,0.2941);
obj["APUN-needle"].show();
obj["APUEGT-needle"].show();
@ -176,6 +175,7 @@ var canvas_lowerECAMPageApu =
obj.showApuParams = 1;
} else {
obj["APUN"].setColor(0.7333,0.3803,0);
obj["APUN-needle"].setColor(0.7333,0.3803,0);
obj["APUEGT"].setColor(0.7333,0.3803,0);
obj["APUN-needle"].hide();
obj["APUEGT-needle"].hide();