A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(bench): a locked screen is a question this machine cannot take
esengine318dacd29378
diff --git a/bench/aot-native/frame-bench.mjs b/bench/aot-native/frame-bench.mjsindex da1d1f1a2..65dc70db2 100644--- a/bench/aot-native/frame-bench.mjs+++ b/bench/aot-native/frame-bench.mjs@@ -135,6 +135,14 @@ if (!template || !existsSync(template)) {console.log(` build one with: node build-tools/cli.js native --target ${os}`);process.exit(2);}+// A locked screen throttles drawables to a floor of ~8 ms whatever the frame holds,+// and the compiled run still read 53% busy under it — past MIN_BUSY, so the wait+// was reported as a system reaching the interpreter.+if (os === 'macos' && /<key>CGSSessionScreenIsLocked<\/key>\s*<true\/>/.test(+ spawnSync('ioreg', ['-n', 'Root', '-d1', '-a'], { encoding: 'utf8' }).stdout ?? '')) {+ console.log('aot native bench: the screen is locked, so every frame waits on the compositor — did NOT run.');+ process.exit(2);+}// ---------------------------------------------------------------- the projectdiff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 621024ef7..069414fda 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -1052,4 +1052,6 @@ export const NOTED = {{ note: 'A project can be packaged as a Huawei quick game (华为快游戏).' },'fix(agent): the history toggle presses grey again, not the accent':{ note: "The agent drawer's History button shows it is open with a grey press again, not the accent colour 0.71 gave it." },+ 'fix(bench): a locked screen is a question this machine cannot take':+ { internal: 'a release criterion\'s own measuring conditions; the engine is unchanged' },};