feedback1 final: the boss-field speed test tolerates CI runners (1.0 ms with CI set, best of three runs; 0.5 ms locally)
test/sim/robustness.test.js "performance: heavy 2-player boss field" failed on GitHub's windows runners (0.51-0.58 ms per tick against the 0.5 ms bar) on PR #10, PR #12, PR #14 and master's own push. The bar stays 0.5 ms on a development machine and is 1.0 ms when process.env.CI is set (GitHub sets it); the measured time is the best of three runs of the same battle after two warm-up battles, each run still checking the peak, the 18 operators and zero errors. Documented in the test header, DESIGN §11 and the CHANGELOG's 工具 section.
This commit is contained in:
1 parent
e7d957b27c
commit
753d2f8796
3 files changed
+30
-15
No files matched your search
@@ -89,6 +89,7 @@
|
||||
|
||||
### 工具
|
||||
|
||||
- 领袖战性能测试在 CI(GitHub 的 Windows 机器较慢)上的门槛放宽到每帧 1.0 毫秒,并取三次运行中最快的一次;本地仍按 0.5 毫秒检查。
|
||||
- 素材下载有文件失败时,不再悄悄删掉 data/assets.json 里的条目,而是列出这些条目并保留原文件;确实要缩小时加 --allow-shrink(PR #7 指出)。
|
||||
|
||||
### 核实后不是问题
|
||||
|
||||
Reference in new issue
Block a user