Files
FreeCADWasmDev/docs/current/efficiency-latest-baseline.md
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

21 KiB

Unattended Execution Timing

Between-event time is observed time with no active command; it may include model, service, transport or client waiting. Between-cycle gaps include backoff, preparation, pipeline work and restarts; do not add them again to the phase totals. Historical backoff was not instrumented.

Cycles: 20; aggregate measured time: 2617.130 s.

Phase Total (s) Share Count Average (s) Maximum (s)
request/first-activity-wait 1114.557 42.59% 14 79.611 179.873
scheduler/provider-backoff 930.751 35.56% 7 132.964 471.803
agent/initial-decision 133.593 5.10% 4 33.398 64.221
agent/idle-stop 120.654 4.61% 3 40.218 45.397
agent/finalization 69.054 2.64% 2 34.527 48.799
agent/post-read 46.245 1.77% 7 6.606 26.307
post-pipeline/build 43.164 1.65% 1 43.164 43.164
pre-agent-pipeline/build 40.661 1.55% 1 40.661 40.661
agent/decision 38.135 1.46% 7 5.448 20.225
agent/synthesis 25.361 0.97% 1 25.361 25.361
agent/failure-recovery 18.460 0.71% 2 9.230 18.385
pre-agent-pipeline/artifact-sync 7.831 0.30% 1 7.831 7.831
agent/editing 5.499 0.21% 1 5.499 5.499
pre-agent-pipeline/business-acceptance 4.841 0.18% 1 4.841 4.841
preparation/continue 4.393 0.17% 18 0.244 0.635
preparation/implementationPacket 3.416 0.13% 18 0.190 0.308
scheduler/process-start 3.208 0.12% 19 0.169 0.337
post-pipeline/artifact-sync 2.866 0.11% 1 2.866 2.866
post-pipeline/business-acceptance 1.413 0.05% 1 1.413 1.413
other 1.174 0.04% 4 0.293 1.171
preparation/batchPreflight 0.765 0.03% 18 0.043 0.044
post-pipeline/business-audit 0.407 0.02% 1 0.407 0.407
pre-agent-pipeline/business-audit 0.405 0.02% 1 0.405 0.405
post-pipeline/module-registry 0.086 0.00% 1 0.086 0.086
post-pipeline/capability-registry 0.081 0.00% 1 0.081 0.081
pre-agent-pipeline/preflight 0.064 0.00% 1 0.064 0.064
post-pipeline/preflight 0.040 0.00% 1 0.040 0.040
source/read 0.006 0.00% 11 0.001 0.001

Wall-Clock Coverage

First cycle start to last observed event: 3317.425 s. Inside observed cycles: 1576.921 s; between cycles: 1740.504 s.

Previous Cycle Next Cycle Gap (s)
4932 4933 60.517
4933 4934 60.519
4934 4935 60.515
4935 4936 60.523
4936 4937 60.521
4937 4938 2.173
4938 4939 2.340
4939 4940 21.170
4940 4941 202.636
4941 4942 61.011
4942 4944 120.645
4944 4945 7.330
4945 4946 241.015
4946 4947 481.020
4947 4948 1.283
4948 4949 102.782
4949 4950 189.811
4950 4951 4.693

Cycle 4932

Task: FW-P6-FPA-Y; batch: {'id': '865df89fcfcdc45f5d76b890', 'module': 'Sketcher', 'tier': 'failure-reconciliation', 'family': 'failure-reconciliation', 'records': 4}. Observed command time (union): 0.000 s; between-event time: 31.035 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.127
batchPreflight 0.042
implementationPacket 0.143

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.161 scheduler.cycle.started thread.started
0.187 30.848 turn.started scheduler.cycle.completed

Cycle 4933

Task: FW-P6-FPA-Y; batch: {'id': '865df89fcfcdc45f5d76b890', 'module': 'Sketcher', 'tier': 'failure-reconciliation', 'family': 'failure-reconciliation', 'records': 4}. Observed command time (union): 0.000 s; between-event time: 31.035 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.129
batchPreflight 0.042
implementationPacket 0.143

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.344 scheduler.cycle.started thread.started
0.375 30.660 turn.started scheduler.cycle.completed

Cycle 4934

Task: FW-P6-FPA-Y; batch: {'id': '865df89fcfcdc45f5d76b890', 'module': 'Sketcher', 'tier': 'failure-reconciliation', 'family': 'failure-reconciliation', 'records': 4}. Observed command time (union): 0.000 s; between-event time: 31.035 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.130
batchPreflight 0.042
implementationPacket 0.141

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.164 scheduler.cycle.started thread.started
0.192 30.843 turn.started scheduler.cycle.completed

Cycle 4935

Task: FW-P6-FPA-Y; batch: {'id': '865df89fcfcdc45f5d76b890', 'module': 'Sketcher', 'tier': 'failure-reconciliation', 'family': 'failure-reconciliation', 'records': 4}. Observed command time (union): 0.000 s; between-event time: 31.035 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.129
batchPreflight 0.042
implementationPacket 0.142

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.171 scheduler.cycle.started thread.started
0.214 30.821 turn.started scheduler.cycle.completed

Cycle 4936

Task: FW-P6-FPA-Y; batch: {'id': '865df89fcfcdc45f5d76b890', 'module': 'Sketcher', 'tier': 'failure-reconciliation', 'family': 'failure-reconciliation', 'records': 4}. Observed command time (union): 0.000 s; between-event time: 31.035 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.130
batchPreflight 0.044
implementationPacket 0.146

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.166 scheduler.cycle.started thread.started
0.198 30.837 turn.started scheduler.cycle.completed

Cycle 4937

Task: FW-P6-FPA-Y; batch: {'id': '865df89fcfcdc45f5d76b890', 'module': 'Sketcher', 'tier': 'failure-reconciliation', 'family': 'failure-reconciliation', 'records': 4}. Observed command time (union): 0.007 s; between-event time: 92.086 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.131
batchPreflight 0.043
implementationPacket 0.146

Commands

# Phase Wait Before (s) Execute (s) Exit Command
1 other 3.455 0.001 0 /bin/bash -lc 'pwd;'
2 source/read 0.136 0.001 0 /bin/bash -lc "rg --files -g AGENTS.md -g provided-source-index.md -g WEB_BUSINESS_MIGRATION_RULES.md -g 'failurereconciliation*' -g 'runtime_issue' -g 'Sketcher.json' -g 'sketcher' tools docs"
3 source/read 0.136 0.000 64 /bin/bash -lc 'git status --short'
4 source/read 18.385 0.001 1 /bin/bash -lc 'cat AGENTS.md docs/current/provided-source-index.md docs/WEB_BUSINESS_MIGRATION_RULES.md'
5 source/read 0.075 0.001 0 /bin/bash -lc 'python3 tools/fast_source_search.py --help'
6 source/read 0.137 0.000 0 /bin/bash -lc "sed -n '1,260p' tools/failure_reconciliation.py"

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.171 scheduler.cycle.started thread.started
0.203 24.116 turn.started agent_message
24.319 3.455 item.completed command_execution
27.776 0.136 command:other command_execution
27.913 0.136 command:source/read command_execution
28.050 18.385 command:source/read command_execution
46.437 0.075 command:source/read command_execution
46.512 0.137 command:source/read command_execution
46.650 45.443 command:source/read scheduler.cycle.completed

Cycle 4938

Task: FW-P6-FPA-Y; batch: {'id': 'ba7f47d606c45e7f3d5a1645', 'module': 'TechDraw', 'tier': 'feature-workflow', 'family': 'desktop-command-command', 'records': 12}. Observed command time (union): 0.005 s; between-event time: 106.052 s; file changes: 1.

preparationTiming

Step Seconds
continue 0.544
batchPreflight 0.042
implementationPacket 0.308

postPipelineTiming

Step Seconds
post-pipeline/module-registry 0.086
post-pipeline/capability-registry 0.081

Commands

# Phase Wait Before (s) Execute (s) Exit Command
1 source/read 5.316 0.000 0 /bin/bash -lc "rg -n 'TechDraw|source|资料' docs/current/provided-source-index.md"
2 source/read 0.136 0.001 0 /bin/bash -lc "rg -n 'TechDraw_(ActiveView|ArchView|BrokenView|ComplexSection|DraftView|ExportPageSVG|PrintAll|ProjectShape|ProjectionGroup|SectionGroup|SectionView|View)|IMPLEMENTED_DESKTOP|dispatch' freecad-source/src/WebAssembly/FreeCADCoreProbe/TechDrawDesktopCommands.cpp web/src/desktop-command-dispatcher.ts web/src/workbench-shell.tsx"
3 source/read 26.307 0.001 0 /bin/bash -lc "sed -n '660,760p' freecad-source/src/WebAssembly/FreeCADCoreProbe/TechDrawDesktopCommands.cpp"
4 source/read 0.137 0.000 0 /bin/bash -lc "rg -n -C 65 'new DesktopCommandDispatcher' web/src/workbench-shell.tsx"
5 source/read 0.136 0.000 0 /bin/bash -lc "rg -n -C 65 'async execute' web/src/desktop-command-dispatcher.ts"

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.169 scheduler.cycle.started thread.started
0.198 28.804 turn.started agent_message
29.002 5.316 item.completed command_execution
34.319 0.136 command:source/read command_execution
34.456 26.307 command:source/read command_execution
60.765 0.137 command:source/read command_execution
60.902 0.136 command:source/read command_execution
61.039 19.256 command:source/read agent_message
80.295 5.499 item.completed file_change
85.795 20.262 item.completed scheduler.cycle.completed

Cycle 4939

Task: FW-P6-FPA-Y; batch: {'id': 'ba7f47d606c45e7f3d5a1645', 'module': 'TechDraw', 'tier': 'feature-workflow', 'family': 'desktop-command-command', 'records': 12}. Observed command time (union): 0.000 s; between-event time: 31.036 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.175
batchPreflight 0.042
implementationPacket 0.305

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.168 scheduler.cycle.started thread.started
0.202 30.834 turn.started scheduler.cycle.completed

Cycle 4940

Task: FW-P6-FPA-Y; batch: {'id': 'ba7f47d606c45e7f3d5a1645', 'module': 'TechDraw', 'tier': 'feature-workflow', 'family': 'desktop-command-command', 'records': 12}. Observed command time (union): 0.000 s; between-event time: 31.036 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.178
batchPreflight 0.043
implementationPacket 0.306

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.172 scheduler.cycle.started thread.started
0.198 30.838 turn.started scheduler.cycle.completed

Cycle 4943

Task: FW-P6-FPA-Y; batch: {'id': 'f0c973d91d81e02d77383b27', 'module': 'Draft', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 4}. Observed command time (union): 0.000 s; between-event time: 0.000 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.423
batchPreflight 0.043
implementationPacket 0.198

waitingTiming

Step Seconds
scheduler/provider-backoff 13.053

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before

Cycle 4941

Task: FW-P6-FPA-Y; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 0.000 s; between-event time: 120.051 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.426
batchPreflight 0.042
implementationPacket 0.184

waitingTiming

Step Seconds
scheduler/provider-backoff 59.982

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.181 scheduler.cycle.started thread.started
0.211 119.840 turn.started scheduler.cycle.completed

Cycle 4942

Task: FW-P6-FPA-Y; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 0.000 s; between-event time: 180.062 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.161
batchPreflight 0.043
implementationPacket 0.183

waitingTiming

Step Seconds
scheduler/provider-backoff 106.002

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.168 scheduler.cycle.started thread.started
0.202 179.860 turn.started scheduler.cycle.completed

Cycle 4944

Task: UNATTENDED-OPTIMIZATION; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 0.000 s; between-event time: 180.054 s; file changes: 0.

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.180 scheduler.cycle.started thread.started
0.220 179.834 turn.started scheduler.cycle.completed

Cycle 4945

Task: FW-P6-FPA-Y; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 0.000 s; between-event time: 180.060 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.160
batchPreflight 0.042
implementationPacket 0.183

waitingTiming

Step Seconds
scheduler/provider-backoff 239.929

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.159 scheduler.cycle.started thread.started
0.180 179.880 turn.started scheduler.cycle.completed

Cycle 4946

Task: FW-P6-FPA-Y; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 0.000 s; between-event time: 180.061 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.163
batchPreflight 0.042
implementationPacket 0.185

waitingTiming

Step Seconds
scheduler/provider-backoff 471.803

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.168 scheduler.cycle.started thread.started
0.202 179.858 turn.started scheduler.cycle.completed

Cycle 4947

Task: FW-P6-FPA-Y; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 0.002 s; between-event time: 96.084 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.163
batchPreflight 0.044
implementationPacket 0.188

Commands

# Phase Wait Before (s) Execute (s) Exit Command
1 source/read 1.496 0.001 64 /bin/bash -lc 'git status --short && ls src/WebAssembly && ls src/WebAssembly/FreeCADCoreProbe'

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.161 scheduler.cycle.started thread.started
0.192 64.221 turn.started agent_message
64.413 1.496 item.completed command_execution
65.911 30.175 command:source/read scheduler.cycle.completed

Cycle 4948

Task: FW-P6-FPA-Y; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 0.000 s; between-event time: 30.038 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.426
batchPreflight 0.042
implementationPacket 0.184

waitingTiming

Step Seconds
scheduler/provider-backoff 19.991

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.167 scheduler.cycle.started thread.started
0.183 29.855 turn.started scheduler.cycle.completed

Cycle 4949

Task: FW-P6-FPA-Y; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 0.000 s; between-event time: 49.024 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.163
batchPreflight 0.043
implementationPacket 0.187

postPipelineTiming

Step Seconds
post-pipeline/preflight 0.040
post-pipeline/build 43.164
post-pipeline/artifact-sync 2.866
post-pipeline/business-acceptance 1.413
post-pipeline/business-audit 0.407

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.184 scheduler.cycle.started thread.started
0.218 48.806 turn.started scheduler.cycle.completed

Cycle 4950

Task: UNATTENDED-OPTIMIZATION; batch: {'id': 'aa718a128ddc3267efe2d2ff', 'module': 'CAM', 'tier': 'business-acceptance', 'family': 'business-acceptance', 'records': 2}. Observed command time (union): 1.175 s; between-event time: 114.877 s; file changes: 0.

Commands

# Phase Wait Before (s) Execute (s) Exit Command
1 other 4.791 0.001 0 /bin/bash -lc "python3 - <<'PY' import json p='docs/current/periodic-optimization/optimization-000020-context.json' print(json.load(open(p))) PY sed -n '1,220p' docs/UNATTENDED_WORKFLOW.md sed -n '1,180p' docs/current/provided-source-index.md rg -n "cam\.import|cam\.export|resourcesReleased|TODO|FIXME" web/src/cam* freecad-source/src/WebAssembly/FreeCADCoreProbe/CAMRuntimeProbe.cpp tools/cam-business-cases.mjs"
2 other 2.716 0.001 0 /bin/bash -lc 'python3 tools/run_business_acceptance.py --reuse --module CAM --ids CAM:cam.import,CAM:cam.export python3 tools/analyze_scheduler_timings.py --cycles 20 --report-prefix docs/current/unattended-timing-000020'
3 other 20.225 1.171 0 /bin/bash -lc 'node tools/cam-business-cases.mjs'

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.157 scheduler.cycle.started thread.started
0.197 16.452 turn.started agent_message
16.649 4.791 item.completed command_execution
21.442 25.361 command:other agent_message
46.803 2.716 item.completed command_execution
49.520 20.225 command:other command_execution
70.917 45.135 command:other scheduler.cycle.completed

Cycle 4951

Task: FW-P6-FPA-Y; batch: {'id': 'f6190e1bdc18af8b77362fe8', 'module': 'CAM', 'tier': 'failure-reconciliation', 'family': 'failure-reconciliation', 'records': 4}. Observed command time (union): 0.000 s; between-event time: 30.037 s; file changes: 0.

preparationTiming

Step Seconds
continue 0.635
batchPreflight 0.042
implementationPacket 0.144

waitingTiming

Step Seconds
scheduler/provider-backoff 19.991

Commands

# Phase Wait Before (s) Execute (s) Exit Command

Between-Event Intervals

Offset (s) Seconds After Before
0.000 0.159 scheduler.cycle.started thread.started
0.191 29.846 turn.started scheduler.cycle.completed