docs: measure replacement speed and record benchmark limits
This commit is contained in:
1 parent
cf0ba739c6
commit
2ad0a3c6c7
3 files changed
+701
No files matched your search
@@ -88,6 +88,8 @@ native_parts_query.exe <原生DLL目录> <分区副本.pdb> <料号>
|
||||
|
||||
适合接入的受限路线是:精确验证料号存在及关联符号 → 冻结工程/图页/UID → 拒绝多 gate 或符号、引脚映射不一致 → 在原 UID 上应用模板属性,同时同步基础值和实例值、引脚号 → 按现有策略处理 Value/NC、显示样式 → 删除未连接模板 → 验证范围、连接、保存重开和独立读回。可按目标料号复用一个模板。
|
||||
|
||||
后续 [性能评估](2026-10-17-replacement-speed-evaluation.md) 已取得一对多的有效 GUI 对照:本次完成替换阶段缩短 32.2%,含 CAD 启停、复核及独立读回的总耗时反而增加 7.2%。分层与展开图完整一致;多规则 GUI 基准未完成且仍有逐项保存重开流程差异,不能计算多规则加速倍数。该单次结果不能外推到任意 BOM。
|
||||
|
||||
正式切换前仍需要补齐:
|
||||
|
||||
- 当前分层采集对实例覆盖值的处理。实验已证明只读基础层会返回旧料号,需要正确合并有效值或退回 CAD 核验。
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
# 替换加速评估:原生窗口与无弹窗原型
|
||||
|
||||
评估日期:2026-10-17。环境:本机 Windows、Mentor 7.9.5EE、Python 3.12;工具代码基线 `cf0ba73`。
|
||||
|
||||
## 测量范围
|
||||
|
||||
比较现有原生替换窗口适配器与同符号、单 gate、相同引脚映射的无弹窗研究原型。旧路径使用正式 `native_helper` 独立进程;新路径由 32 位研究 CLI 查询真实 PartsDB,再通过 COM 创建一个未连接库模板,在原 UID 上更新库属性及引脚号,删除模板。**替换仍通过 COM,需要启动 CAD;查询 CLI 不是通用替换 CLI。正式后端未切换,本轮未打包或发布。**
|
||||
|
||||
只在 `build` 下新复制的 Audio_D2128 工程运行,图页为 `Audio-D2128 / S905L CVBS-LR`。两条路径都恢复坐标、方向、比例、Refdes、Value/NC 和属性显示样式,检查未选中器件、引脚网络、保存重开,并在 CAD 退出后用原生清单独立读回。
|
||||
|
||||
| 场景 | 选中对象 | 保留对象与选项 |
|
||||
| --- | --- | --- |
|
||||
| 一对多 | RV14、RV08:`4100-CA1030-T7 → 4100-CA0000-T0` | 同一旧料号 RV19 不改;两个目标 Value 为 `0R/NC` |
|
||||
| 多规则共用目标料号 | RV05、RV14、RV02,三个不同旧料号统一换为 `4100-CA0000-T0` | 最终 Value 分别为 `0R`、`0R/NC`、`2.2K`;覆盖 Part Label、保留旧 Value、NC 同步和不同方向 |
|
||||
|
||||
旧路径在一对多场景只调用一次批量替换,不人为拆成逐位号点击。多规则场景逐规则替换并恢复属性;新路径复用一个目标料号模板。两者比较的是当前适配器与受限原型的实际工作负载,收益不能全部归因于 DLL/COM 调用方式;旧适配器包含逐组遍历、选择、检查及助手开销。
|
||||
|
||||
每个场景、每条路径各尝试一次,三次完成,GUI 多规则失败。运行顺序为 GUI 一对多 → 原型一对多 → 原型多规则 → GUI 多规则;没有同时运行其他研究 CAD/CLI。每次创建新 CAD 会话,但未清空操作系统、DLL 或库缓存,不能称为冷缓存测试,也不能给出稳定均值、显著性或 400 项 BOM 的吞吐量。
|
||||
|
||||
## 计时定义
|
||||
|
||||
- **完成替换阶段**:`save_close` stage 时间减 `backend_start` stage 时间,包含替换、Value/样式恢复、保存前校验和 Undo 事务结束;保存从该阶段之后开始。
|
||||
- **CAD 会话**:私有桌面 CAD 启动前至会话退出后,包含打开工程、初始快照、完成替换、保存关闭、重开验证、退出和清理。
|
||||
- **含独立读回总耗时**:CAD 会话 + CAD 退出后的原生清单独立读回。它不包含副本克隆、Excel 导入、创建任务、队列调度和额外的 ASCII 全图对照导出,不是产品点击执行到完成的全链路计时。
|
||||
- 各阶段还单列启动、打开及初始读取、保存关闭、重开验证、退出。阶段和与会话可能有少量差异,来自进程创建、导入和阶段外收尾。
|
||||
|
||||
原始 `replace_and_restore_seconds` 在新路径的 Undo 提交之前停止,存在边界不对齐,因此不用于性能主比较。所有比例以统一完成边界计算:耗时缩短率 = `100 × (1 − 新/旧)`;速度比 = `旧/新`。负缩短率表示变慢。
|
||||
|
||||
## 结果
|
||||
|
||||
**本次一对多样本:完成替换阶段缩短 32.2%,但含启停和独立读回的总耗时增加 7.2%。当前只能证明受限替换阶段有收益,尚未证明总流程提速。**
|
||||
|
||||
| 一对多对照 | 现有 GUI 适配器 | 无弹窗原型 | 本次变化 |
|
||||
| --- | ---: | ---: | --- |
|
||||
| 完成替换阶段 | 39.578 秒 | 26.844 秒 | 节省 12.734 秒,缩短 32.17%,速度比 1.474× |
|
||||
| CAD 会话 | 149.547 秒 | 160.156 秒 | 增加 10.609 秒 |
|
||||
| 会话后独立读回 | 0.828 秒 | 1.015 秒 | 增加 0.187 秒 |
|
||||
| 含独立读回总耗时 | 150.375 秒 | 161.171 秒 | 增加 10.796 秒,变慢 7.18% |
|
||||
|
||||
分阶段实测如下。打开包含初始全页读取;重开包含重新打开、读取及核验,不能据此认定某一个 API 单独变慢。
|
||||
|
||||
| 阶段 | GUI 一对多 | 原型一对多 | 原型多规则 |
|
||||
| --- | ---: | ---: | ---: |
|
||||
| CAD 启动与身份绑定 | 50.750 秒 | 48.890 秒 | 51.000 秒 |
|
||||
| 打开工程、图页及初始快照 | 26.063 秒 | 29.734 秒 | 27.938 秒 |
|
||||
| 完成替换、恢复及校验 | 39.578 秒 | 26.844 秒 | 32.562 秒 |
|
||||
| 保存关闭 | 3.172 秒 | 3.703 秒 | 6.891 秒 |
|
||||
| 重开验证 | 23.718 秒 | 40.156 秒 | 31.359 秒 |
|
||||
| 退出与私有桌面清理 | 3.578 秒 | 7.296 秒 | 4.109 秒 |
|
||||
| 会话后独立读回 | 0.828 秒 | 1.015 秒 | 0.813 秒 |
|
||||
| 含独立读回总耗时 | 150.375 秒 | 161.171 秒 | 157.375 秒 |
|
||||
|
||||
一对多原型的库查询阶段约 0.578 秒,模板创建及映射检查约 6.266 秒,库属性应用约 1.219 秒,引脚同步约 6.734 秒,模板删除约 0.141 秒,Value/样式恢复约 6.219 秒,保存前检查及 Undo 完成约 5.687 秒。这些是阶段区间,包含区间内的断言和记录开销,不能当成孤立 API 调用时间。
|
||||
|
||||
一对多样本中,重开验证增加约 16.4 秒、退出增加约 3.7 秒,抵消了替换阶段节省的约 12.7 秒。单次测量不能判断这些差值是路径引起还是会话/系统波动,因此不能从本次数据认定原型稳定地更慢或更快。
|
||||
|
||||
多规则原型的三个目标已通过保存重开及独立读回,完成替换 32.562 秒,含独立读回 157.375 秒。GUI 基准在第一组 RV05 成功后,第二组 RV14 的 `Native replacement did not complete` 等待超时;**没有有效 GUI 多规则对照,不计算加速倍数,也不宣称这个场景与 GUI 完全等价。**
|
||||
|
||||
只读复核确认,多规则基准仍漏了正式 VBS `QPFinishBatchItem` 的逐项保存关闭、重开检查点(`integration/dxdesigner795/QuickPartReplace.vbs:912-929`),基准只在所有组完成后重开。该差异尚未补齐,不能将超时归为产品故障。重复选同一新料号时,GUI 目标字段可能尚在更新,也是未证实的时序线索。失败试验耗时不作为成功执行时间。
|
||||
|
||||
## 核验结果
|
||||
|
||||
- 有效一对多两条路径的初始/最终器件记录、初始目标引脚、几何、样式及最终独立读回逐项相等。
|
||||
- 一对多的分层与展开图均完整一致:57 个器件/符号实例、103 个引脚、22 个网络。清单字段只有 RV14、RV08 改变;55 个其他实例的清单字段不变,包括同料号 RV19。
|
||||
- 多规则原型的清单字段只有 RV05、RV14、RV02 改变,54 个其他实例的清单字段不变;目标 UID、坐标、方向、比例、属性样式、引脚网络通过保存前及重开后的检查。
|
||||
- 三次成功及一次失败试验的来源工程 `.prj`、`icdb.dat` 哈希均未变;四次 CAD 正常退出、所属 Job 清空、句柄关闭,私有桌面释放确认通过。
|
||||
- 四次试验使用同一冻结脚本,SHA-256 为 `c6b70769bc4a1ec1e7e1806fac6d8ba60caee269f29a6237fae9dd636fecd89d`。
|
||||
|
||||
## 后续优化优先级
|
||||
|
||||
1. **先处理会话固定开销。** 本次启动与首次打开合计约 77~79 秒。可研究同一批任务复用自有 CAD 会话的收益,同时保留工程隔离、取消、异常重启和最终释放;这只是优化方向,尚未实现或测出收益。
|
||||
2. **按图页和目标料号批处理。** 复用目标库模板、合并重复的全页属性/引脚读取,保留未选中器件和连线校验。库查询已不足一秒,继续只优化查询无法解决主要耗时。
|
||||
3. **先补齐基准的逐项检查点,再评估合并策略。** 正式流程每条规则保存重开有额外代价,也可能承担提交稳定性与故障恢复职责,不能为追求速度直接删除。补齐后测同一工程多规则、多个工程,以及不同目标料号;重复测量后再决定正式接入范围。
|
||||
|
||||
现阶段保留正式后端。受限原型可继续研究,不具备据此宣称所有料号、不同符号、多 gate、PCB 打包同步或 400 项任务统一提速的证据。
|
||||
|
||||
## 有效性与排除项
|
||||
|
||||
只有替换结果、来源哈希和私有桌面清理均通过的样本才能纳入。有效一对多场景比较了 GUI 与原型的初始/最终器件记录、引脚记录、几何、样式及独立读回,并用安装自带 `icdb2ascii` 导出分层和展开图逐器件、逐引脚、逐网络比较;多规则缺少成功 GUI 结果,不满足成对比较条件。图比较忽略同层属性及网络连接行的排列顺序,保留连接内容。这是导出图数据一致,不是工程数据库字节相同。
|
||||
|
||||
前期调试试验不纳入计时:同进程直接调用 GUI 适配器导致 COM 代理断连;基准漏掉每条规则后的正式恢复事务,后续规则超时;一对多替换成功后,基准错误假设 Value 属性仍存在,恢复阶段失败。冻结基准已补齐逐规则属性恢复及缺失 Value 重建,重新尝试四次,但仍存在上述多规则逐项保存重开差异。上述失败不能用来认定正式工具存在相应缺陷。
|
||||
|
||||
之前带调试器的核心跟踪和较早的无弹窗实验边界不同,均不与本轮数据相除。
|
||||
|
||||
## 证据
|
||||
|
||||
本轮原始报告、工程副本、固定基准脚本保留在本机忽略目录 `build/speed-final-20261017-*`,导出结果位于 `build/speed-final-ascii-20261017-*`;固定脚本为 `build/benchmark_replacement_backends-final.py`。精简计时、各阶段间隔、脚本/原始报告/初始与最终记录哈希、目标变化、独立读回和清理结果已保留在 [评估证据 JSON](2026-10-17-replacement-speed-evidence.json)。原生接口范围及尚未覆盖的替换类型见 [接口研究](2026-10-17-replacement-cli-alternative.md)。
|
||||
@@ -0,0 +1,612 @@
|
||||
{
|
||||
"date": "2026-10-17",
|
||||
"production_backend_changed": false,
|
||||
"metrics": {
|
||||
"replacement_completed_seconds": "stage(save_close) - stage(backend_start); includes restoration, pre-save verification and undo completion; excludes saving",
|
||||
"guarded_total_seconds": "session_seconds + independent_seconds; excludes cloning, Excel/task/queue preparation and additional ASCII comparison exports",
|
||||
"reduction_percent": "100 * (1 - headless/gui); negative means slower",
|
||||
"speed_ratio": "gui/headless"
|
||||
},
|
||||
"limits": [
|
||||
"one sample per backend per workload",
|
||||
"new CAD session, OS and library caches not reset",
|
||||
"same symbol, single gate, equal pin mapping only",
|
||||
"shared destination part template; no extrapolation to arbitrary BOM or 400 items",
|
||||
"replacement uses COM and requires CAD; query CLI only"
|
||||
],
|
||||
"workloads": {
|
||||
"one_to_many": {
|
||||
"targets": [
|
||||
"RV14",
|
||||
"RV08"
|
||||
],
|
||||
"runs": {
|
||||
"gui": {
|
||||
"verified": true,
|
||||
"report_path": "build/speed-final-20261017-gui-many/report.json",
|
||||
"raw_report_sha256": "cb29ab1e4363c56960bb65f94d411363616466558e609aa21237af1333b6bb15",
|
||||
"harness_sha256": "c6b70769bc4a1ec1e7e1806fac6d8ba60caee269f29a6237fae9dd636fecd89d",
|
||||
"samples": 1,
|
||||
"replacement_completed_seconds": 39.57799999999406,
|
||||
"session_seconds": 149.54700000000594,
|
||||
"independent_seconds": 0.8279999999940628,
|
||||
"guarded_total_seconds": 150.375,
|
||||
"phase_seconds": {
|
||||
"startup": 50.75,
|
||||
"open_and_initial_snapshot": 26.062999999994645,
|
||||
"replacement_restoration_verification_undo": 39.57799999999406,
|
||||
"save_close": 3.172000000005937,
|
||||
"reopen_and_verify": 23.71799999999348,
|
||||
"shutdown": 3.577999999994063,
|
||||
"independent_read": 0.8279999999940628
|
||||
},
|
||||
"native_library_query_seconds": null,
|
||||
"stage_offsets_seconds": {
|
||||
"open": 0.0,
|
||||
"backend_start": 26.062999999994645,
|
||||
"gui_replace_RV14_RV08": 26.062999999994645,
|
||||
"restore_value_display": 55.187999999994645,
|
||||
"verify_before_save": 60.280999999988126,
|
||||
"save_close": 65.64099999998871,
|
||||
"reopen_and_verify": 68.81299999999464,
|
||||
"verified": 92.53099999998813
|
||||
},
|
||||
"stage_interval_seconds": [
|
||||
{
|
||||
"from": "open",
|
||||
"to": "backend_start",
|
||||
"seconds": 26.062999999994645
|
||||
},
|
||||
{
|
||||
"from": "backend_start",
|
||||
"to": "gui_replace_RV14_RV08",
|
||||
"seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from": "gui_replace_RV14_RV08",
|
||||
"to": "restore_value_display",
|
||||
"seconds": 29.125
|
||||
},
|
||||
{
|
||||
"from": "restore_value_display",
|
||||
"to": "verify_before_save",
|
||||
"seconds": 5.092999999993481
|
||||
},
|
||||
{
|
||||
"from": "verify_before_save",
|
||||
"to": "save_close",
|
||||
"seconds": 5.360000000000582
|
||||
},
|
||||
{
|
||||
"from": "save_close",
|
||||
"to": "reopen_and_verify",
|
||||
"seconds": 3.172000000005937
|
||||
},
|
||||
{
|
||||
"from": "reopen_and_verify",
|
||||
"to": "verified",
|
||||
"seconds": 23.71799999999348
|
||||
}
|
||||
],
|
||||
"before_sha256": "3cdbf2ee6af01826cca545fe02a4c0bd55d39ff795cf006f922a959807a9977e",
|
||||
"after_sha256": "d0ab69d75239b17f54f90669df88d20ef194799b734a02f76ec93b9a35847550",
|
||||
"changed_components": [
|
||||
{
|
||||
"uid": "$2I1766",
|
||||
"before": {
|
||||
"refdes": "RV14",
|
||||
"part": "4100-CA1030-T7",
|
||||
"label": "10K",
|
||||
"value": "10K/NC",
|
||||
"footprint": "RESC1005N"
|
||||
},
|
||||
"after": {
|
||||
"refdes": "RV14",
|
||||
"part": "4100-CA0000-T0",
|
||||
"label": "0R",
|
||||
"value": "0R/NC",
|
||||
"footprint": "RESC1608N"
|
||||
}
|
||||
},
|
||||
{
|
||||
"uid": "$2I820",
|
||||
"before": {
|
||||
"refdes": "RV08",
|
||||
"part": "4100-CA1030-T7",
|
||||
"label": "10K",
|
||||
"value": "10K/NC",
|
||||
"footprint": "RESC1005N"
|
||||
},
|
||||
"after": {
|
||||
"refdes": "RV08",
|
||||
"part": "4100-CA0000-T0",
|
||||
"label": "0R",
|
||||
"value": "0R/NC",
|
||||
"footprint": "RESC1608N"
|
||||
}
|
||||
}
|
||||
],
|
||||
"unchanged_component_count": 55,
|
||||
"independent_read": {
|
||||
"RV02": {
|
||||
"uid": "$2I1428",
|
||||
"part": "4100-CA2220-T7",
|
||||
"value": "2.2K"
|
||||
},
|
||||
"RV14": {
|
||||
"uid": "$2I1766",
|
||||
"part": "4100-CA0000-T0",
|
||||
"value": "0R/NC"
|
||||
},
|
||||
"RV19": {
|
||||
"uid": "$2I1885",
|
||||
"part": "4100-CA1030-T7",
|
||||
"value": "10K/NC"
|
||||
},
|
||||
"RV05": {
|
||||
"uid": "$2I2014",
|
||||
"part": "4100-CA0000-T7",
|
||||
"value": "0R"
|
||||
},
|
||||
"RV11": {
|
||||
"uid": "$2I2022",
|
||||
"part": "4100-CA0000-T7",
|
||||
"value": "0R"
|
||||
},
|
||||
"RV08": {
|
||||
"uid": "$2I820",
|
||||
"part": "4100-CA0000-T0",
|
||||
"value": "0R/NC"
|
||||
}
|
||||
},
|
||||
"source_hashes_unchanged": true,
|
||||
"cleanup": {
|
||||
"state": "released",
|
||||
"clean": true,
|
||||
"cad_exit_code": 0,
|
||||
"quit_helper_exit_code": 0,
|
||||
"cleanup_errors": [],
|
||||
"desktop_handle_closed": true,
|
||||
"desktop_release_confirmed": true,
|
||||
"owned_process_records": 4,
|
||||
"all_owned_jobs_empty_and_handles_closed": true
|
||||
}
|
||||
},
|
||||
"headless": {
|
||||
"verified": true,
|
||||
"report_path": "build/speed-final-20261017-headless-many/report.json",
|
||||
"raw_report_sha256": "d4deb2a8f6a7c2e8f0b0cdb4cb173c2e213cd17ffb7d49e8c33775961cd84ac6",
|
||||
"harness_sha256": "c6b70769bc4a1ec1e7e1806fac6d8ba60caee269f29a6237fae9dd636fecd89d",
|
||||
"samples": 1,
|
||||
"replacement_completed_seconds": 26.844000000011874,
|
||||
"session_seconds": 160.15600000000268,
|
||||
"independent_seconds": 1.014999999999418,
|
||||
"guarded_total_seconds": 161.1710000000021,
|
||||
"phase_seconds": {
|
||||
"startup": 48.88999999999942,
|
||||
"open_and_initial_snapshot": 29.73399999999674,
|
||||
"replacement_restoration_verification_undo": 26.844000000011874,
|
||||
"save_close": 3.702999999994063,
|
||||
"reopen_and_verify": 40.15600000000268,
|
||||
"shutdown": 7.2960000000020955,
|
||||
"independent_read": 1.014999999999418
|
||||
},
|
||||
"native_library_query_seconds": 0.4850000000005821,
|
||||
"stage_offsets_seconds": {
|
||||
"open": 0.0,
|
||||
"backend_start": 29.73399999999674,
|
||||
"native_library_query": 29.73399999999674,
|
||||
"create_target_template": 30.312000000005355,
|
||||
"apply_library_attributes": 36.578000000008615,
|
||||
"synchronize_pin_properties": 37.79700000000594,
|
||||
"delete_template": 44.53100000000268,
|
||||
"restore_value_display": 44.67200000000594,
|
||||
"verify_before_save": 50.89100000000326,
|
||||
"save_close": 56.578000000008615,
|
||||
"reopen_and_verify": 60.28100000000268,
|
||||
"verified": 100.43700000000536
|
||||
},
|
||||
"stage_interval_seconds": [
|
||||
{
|
||||
"from": "open",
|
||||
"to": "backend_start",
|
||||
"seconds": 29.73399999999674
|
||||
},
|
||||
{
|
||||
"from": "backend_start",
|
||||
"to": "native_library_query",
|
||||
"seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from": "native_library_query",
|
||||
"to": "create_target_template",
|
||||
"seconds": 0.5780000000086147
|
||||
},
|
||||
{
|
||||
"from": "create_target_template",
|
||||
"to": "apply_library_attributes",
|
||||
"seconds": 6.26600000000326
|
||||
},
|
||||
{
|
||||
"from": "apply_library_attributes",
|
||||
"to": "synchronize_pin_properties",
|
||||
"seconds": 1.2189999999973224
|
||||
},
|
||||
{
|
||||
"from": "synchronize_pin_properties",
|
||||
"to": "delete_template",
|
||||
"seconds": 6.73399999999674
|
||||
},
|
||||
{
|
||||
"from": "delete_template",
|
||||
"to": "restore_value_display",
|
||||
"seconds": 0.14100000000325963
|
||||
},
|
||||
{
|
||||
"from": "restore_value_display",
|
||||
"to": "verify_before_save",
|
||||
"seconds": 6.2189999999973224
|
||||
},
|
||||
{
|
||||
"from": "verify_before_save",
|
||||
"to": "save_close",
|
||||
"seconds": 5.687000000005355
|
||||
},
|
||||
{
|
||||
"from": "save_close",
|
||||
"to": "reopen_and_verify",
|
||||
"seconds": 3.702999999994063
|
||||
},
|
||||
{
|
||||
"from": "reopen_and_verify",
|
||||
"to": "verified",
|
||||
"seconds": 40.15600000000268
|
||||
}
|
||||
],
|
||||
"before_sha256": "3cdbf2ee6af01826cca545fe02a4c0bd55d39ff795cf006f922a959807a9977e",
|
||||
"after_sha256": "d0ab69d75239b17f54f90669df88d20ef194799b734a02f76ec93b9a35847550",
|
||||
"changed_components": [
|
||||
{
|
||||
"uid": "$2I1766",
|
||||
"before": {
|
||||
"refdes": "RV14",
|
||||
"part": "4100-CA1030-T7",
|
||||
"label": "10K",
|
||||
"value": "10K/NC",
|
||||
"footprint": "RESC1005N"
|
||||
},
|
||||
"after": {
|
||||
"refdes": "RV14",
|
||||
"part": "4100-CA0000-T0",
|
||||
"label": "0R",
|
||||
"value": "0R/NC",
|
||||
"footprint": "RESC1608N"
|
||||
}
|
||||
},
|
||||
{
|
||||
"uid": "$2I820",
|
||||
"before": {
|
||||
"refdes": "RV08",
|
||||
"part": "4100-CA1030-T7",
|
||||
"label": "10K",
|
||||
"value": "10K/NC",
|
||||
"footprint": "RESC1005N"
|
||||
},
|
||||
"after": {
|
||||
"refdes": "RV08",
|
||||
"part": "4100-CA0000-T0",
|
||||
"label": "0R",
|
||||
"value": "0R/NC",
|
||||
"footprint": "RESC1608N"
|
||||
}
|
||||
}
|
||||
],
|
||||
"unchanged_component_count": 55,
|
||||
"independent_read": {
|
||||
"RV02": {
|
||||
"uid": "$2I1428",
|
||||
"part": "4100-CA2220-T7",
|
||||
"value": "2.2K"
|
||||
},
|
||||
"RV14": {
|
||||
"uid": "$2I1766",
|
||||
"part": "4100-CA0000-T0",
|
||||
"value": "0R/NC"
|
||||
},
|
||||
"RV19": {
|
||||
"uid": "$2I1885",
|
||||
"part": "4100-CA1030-T7",
|
||||
"value": "10K/NC"
|
||||
},
|
||||
"RV05": {
|
||||
"uid": "$2I2014",
|
||||
"part": "4100-CA0000-T7",
|
||||
"value": "0R"
|
||||
},
|
||||
"RV11": {
|
||||
"uid": "$2I2022",
|
||||
"part": "4100-CA0000-T7",
|
||||
"value": "0R"
|
||||
},
|
||||
"RV08": {
|
||||
"uid": "$2I820",
|
||||
"part": "4100-CA0000-T0",
|
||||
"value": "0R/NC"
|
||||
}
|
||||
},
|
||||
"source_hashes_unchanged": true,
|
||||
"cleanup": {
|
||||
"state": "released",
|
||||
"clean": true,
|
||||
"cad_exit_code": 0,
|
||||
"quit_helper_exit_code": 0,
|
||||
"cleanup_errors": [],
|
||||
"desktop_handle_closed": true,
|
||||
"desktop_release_confirmed": true,
|
||||
"owned_process_records": 4,
|
||||
"all_owned_jobs_empty_and_handles_closed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"comparisons": {
|
||||
"replacement_completed_seconds": {
|
||||
"gui": 39.57799999999406,
|
||||
"headless": 26.844000000011874,
|
||||
"seconds_saved": 12.733999999982188,
|
||||
"reduction_percent": 32.17444034560639,
|
||||
"speed_ratio": 1.474370436595759
|
||||
},
|
||||
"guarded_total_seconds": {
|
||||
"gui": 150.375,
|
||||
"headless": 161.1710000000021,
|
||||
"seconds_saved": -10.796000000002095,
|
||||
"reduction_percent": -7.179384871156835,
|
||||
"speed_ratio": 0.9330152446780007
|
||||
}
|
||||
},
|
||||
"paired_records_equal": {
|
||||
"before": true,
|
||||
"after": true,
|
||||
"pins_before": true,
|
||||
"styles_before": true,
|
||||
"geometry_before": true,
|
||||
"independent_read": true
|
||||
},
|
||||
"graph_comparison": {
|
||||
"hier": {
|
||||
"equal": true,
|
||||
"components": 57,
|
||||
"pins": 103,
|
||||
"nets": 22,
|
||||
"sha256": "686bbd1bff29832fa073ce5a56838a8ed6ab83ecf73ee91a2c8aa5f4758470e0"
|
||||
},
|
||||
"flat": {
|
||||
"equal": true,
|
||||
"components": 57,
|
||||
"pins": 103,
|
||||
"nets": 22,
|
||||
"sha256": "72f929f06aadfa2cd4224e652b2d0613263da95a58796255f76e317a1c13de53"
|
||||
}
|
||||
}
|
||||
},
|
||||
"multi_rule": {
|
||||
"targets": [
|
||||
"RV05",
|
||||
"RV14",
|
||||
"RV02"
|
||||
],
|
||||
"runs": {
|
||||
"gui": {
|
||||
"verified": false,
|
||||
"included_in_speed_comparison": false,
|
||||
"report_path": "build/speed-final-20261017-gui-rules/report.json",
|
||||
"raw_report_sha256": "7f162995170c93715b55252b559222291a3a033c4ad1806680521ca53c1689dd",
|
||||
"harness_sha256": "c6b70769bc4a1ec1e7e1806fac6d8ba60caee269f29a6237fae9dd636fecd89d",
|
||||
"failure": "Second group RV14: native_helper wait_for selected_replaced timed out (Native replacement did not complete); first group RV05 passed",
|
||||
"source_hashes_unchanged": true,
|
||||
"cleanup": {
|
||||
"clean": true,
|
||||
"cad_exit_code": 0,
|
||||
"desktop_release_confirmed": true
|
||||
},
|
||||
"root_cause": "unresolved; confirmed harness difference: production QPFinishBatchItem saves/closes/reopens each item, benchmark only reopens after all groups; failure cannot be attributed to product"
|
||||
},
|
||||
"headless": {
|
||||
"verified": true,
|
||||
"report_path": "build/speed-final-20261017-headless-rules/report.json",
|
||||
"raw_report_sha256": "4e85fa75f9c95412033f86827634c82b76228950f4e8a9d544b3488b3c85e8ef",
|
||||
"harness_sha256": "c6b70769bc4a1ec1e7e1806fac6d8ba60caee269f29a6237fae9dd636fecd89d",
|
||||
"samples": 1,
|
||||
"replacement_completed_seconds": 32.562000000005355,
|
||||
"session_seconds": 156.56200000000536,
|
||||
"independent_seconds": 0.8129999999946449,
|
||||
"guarded_total_seconds": 157.375,
|
||||
"phase_seconds": {
|
||||
"startup": 51.0,
|
||||
"open_and_initial_snapshot": 27.937999999994645,
|
||||
"replacement_restoration_verification_undo": 32.562000000005355,
|
||||
"save_close": 6.89100000000326,
|
||||
"reopen_and_verify": 31.35899999999674,
|
||||
"shutdown": 4.10899999999674,
|
||||
"independent_read": 0.8129999999946449
|
||||
},
|
||||
"native_library_query_seconds": 0.34399999999732245,
|
||||
"stage_offsets_seconds": {
|
||||
"open": 0.0,
|
||||
"backend_start": 27.937999999994645,
|
||||
"native_library_query": 27.937999999994645,
|
||||
"create_target_template": 28.421999999991385,
|
||||
"apply_library_attributes": 35.046999999991385,
|
||||
"synchronize_pin_properties": 37.11000000000058,
|
||||
"delete_template": 44.78199999999197,
|
||||
"restore_value_display": 44.937999999994645,
|
||||
"verify_before_save": 52.01600000000326,
|
||||
"save_close": 60.5,
|
||||
"reopen_and_verify": 67.39100000000326,
|
||||
"verified": 98.75
|
||||
},
|
||||
"stage_interval_seconds": [
|
||||
{
|
||||
"from": "open",
|
||||
"to": "backend_start",
|
||||
"seconds": 27.937999999994645
|
||||
},
|
||||
{
|
||||
"from": "backend_start",
|
||||
"to": "native_library_query",
|
||||
"seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from": "native_library_query",
|
||||
"to": "create_target_template",
|
||||
"seconds": 0.48399999999674037
|
||||
},
|
||||
{
|
||||
"from": "create_target_template",
|
||||
"to": "apply_library_attributes",
|
||||
"seconds": 6.625
|
||||
},
|
||||
{
|
||||
"from": "apply_library_attributes",
|
||||
"to": "synchronize_pin_properties",
|
||||
"seconds": 2.063000000009197
|
||||
},
|
||||
{
|
||||
"from": "synchronize_pin_properties",
|
||||
"to": "delete_template",
|
||||
"seconds": 7.671999999991385
|
||||
},
|
||||
{
|
||||
"from": "delete_template",
|
||||
"to": "restore_value_display",
|
||||
"seconds": 0.15600000000267755
|
||||
},
|
||||
{
|
||||
"from": "restore_value_display",
|
||||
"to": "verify_before_save",
|
||||
"seconds": 7.078000000008615
|
||||
},
|
||||
{
|
||||
"from": "verify_before_save",
|
||||
"to": "save_close",
|
||||
"seconds": 8.48399999999674
|
||||
},
|
||||
{
|
||||
"from": "save_close",
|
||||
"to": "reopen_and_verify",
|
||||
"seconds": 6.89100000000326
|
||||
},
|
||||
{
|
||||
"from": "reopen_and_verify",
|
||||
"to": "verified",
|
||||
"seconds": 31.35899999999674
|
||||
}
|
||||
],
|
||||
"before_sha256": "3cdbf2ee6af01826cca545fe02a4c0bd55d39ff795cf006f922a959807a9977e",
|
||||
"after_sha256": "9d3f8f180378aa750d4fd1da196bc40030dd543009389759398127c1a929aa08",
|
||||
"changed_components": [
|
||||
{
|
||||
"uid": "$2I1428",
|
||||
"before": {
|
||||
"refdes": "RV02",
|
||||
"part": "4100-CA2220-T7",
|
||||
"label": "2.2K",
|
||||
"value": "2.2K",
|
||||
"footprint": "RESC1005N"
|
||||
},
|
||||
"after": {
|
||||
"refdes": "RV02",
|
||||
"part": "4100-CA0000-T0",
|
||||
"label": "0R",
|
||||
"value": "2.2K",
|
||||
"footprint": "RESC1608N"
|
||||
}
|
||||
},
|
||||
{
|
||||
"uid": "$2I1766",
|
||||
"before": {
|
||||
"refdes": "RV14",
|
||||
"part": "4100-CA1030-T7",
|
||||
"label": "10K",
|
||||
"value": "10K/NC",
|
||||
"footprint": "RESC1005N"
|
||||
},
|
||||
"after": {
|
||||
"refdes": "RV14",
|
||||
"part": "4100-CA0000-T0",
|
||||
"label": "0R",
|
||||
"value": "0R/NC",
|
||||
"footprint": "RESC1608N"
|
||||
}
|
||||
},
|
||||
{
|
||||
"uid": "$2I2014",
|
||||
"before": {
|
||||
"refdes": "RV05",
|
||||
"part": "4100-CA0000-T7",
|
||||
"label": "0R",
|
||||
"value": "0R",
|
||||
"footprint": "RESC1005N"
|
||||
},
|
||||
"after": {
|
||||
"refdes": "RV05",
|
||||
"part": "4100-CA0000-T0",
|
||||
"label": "0R",
|
||||
"value": "0R",
|
||||
"footprint": "RESC1608N"
|
||||
}
|
||||
}
|
||||
],
|
||||
"unchanged_component_count": 54,
|
||||
"independent_read": {
|
||||
"RV02": {
|
||||
"uid": "$2I1428",
|
||||
"part": "4100-CA0000-T0",
|
||||
"value": "2.2K"
|
||||
},
|
||||
"RV14": {
|
||||
"uid": "$2I1766",
|
||||
"part": "4100-CA0000-T0",
|
||||
"value": "0R/NC"
|
||||
},
|
||||
"RV19": {
|
||||
"uid": "$2I1885",
|
||||
"part": "4100-CA1030-T7",
|
||||
"value": "10K/NC"
|
||||
},
|
||||
"RV05": {
|
||||
"uid": "$2I2014",
|
||||
"part": "4100-CA0000-T0",
|
||||
"value": "0R"
|
||||
},
|
||||
"RV11": {
|
||||
"uid": "$2I2022",
|
||||
"part": "4100-CA0000-T7",
|
||||
"value": "0R"
|
||||
},
|
||||
"RV08": {
|
||||
"uid": "$2I820",
|
||||
"part": "4100-CA1030-T7",
|
||||
"value": "10K/NC"
|
||||
}
|
||||
},
|
||||
"source_hashes_unchanged": true,
|
||||
"cleanup": {
|
||||
"state": "released",
|
||||
"clean": true,
|
||||
"cad_exit_code": 0,
|
||||
"quit_helper_exit_code": 0,
|
||||
"cleanup_errors": [],
|
||||
"desktop_handle_closed": true,
|
||||
"desktop_release_confirmed": true,
|
||||
"owned_process_records": 4,
|
||||
"all_owned_jobs_empty_and_handles_closed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"comparisons": null,
|
||||
"reason": "No successful GUI multi-rule baseline; prototype absolute times only, no speed ratio or GUI equivalence claim"
|
||||
}
|
||||
},
|
||||
"all_four_harness_hashes_equal": true
|
||||
}
|
||||
Reference in new issue
Block a user