fix(perf test): 移除墙钟 light<batch 断言(纯内存 mock 下 0ms 抖动偶发红;类注释本就声明不做毫秒比较、用确定性查询次数口径)

This commit is contained in:
2026-09-05 09:31:13 +08:00
parent 8cbc86f6fa
commit 736760aa31
@@ -563,6 +563,7 @@ class SimilarAsinTaskServicePerf500Test {
writer.println(lines.get(1));
}
assertTrue(Files.exists(report), "性能报告应写入 target/perf-report/");
assertTrue(lightMs < batchMs, "light 应快于 batch(报告记录)");
// 墙钟不作为断言口径(见类注释:JIT/GC/调度下毫秒不可比);"light 更轻"由本类确定性
// 查询次数/字段量用例覆盖
}
}