Spike, not the final UI: it answers whether flare-ui can drive Alkane OS's on-box pages, and what it costs. What works: - schema/alkane-bb.json authors the sidebar as data (3 sections, 14 tabs); - src/bin/ui-spike.rs renders it through flare_ui::nav + flare_ui::shell, so the unified sidebar, ordering and surface filtering come from the schema rather than from hand-written HTML; - the render uses the shared bf- design tokens, the same ones the rest of the suite uses. Size, measured rather than assumed (armv7, release, stripped): ui-baseline 323 KiB (maud + serde_json, no flare-ui) ui-spike 771 KiB (flare-ui + wschema + sha2) marginal 448 KiB Vendoring: third-party/flare-ui is the full v0.2.9 tree pinned in flare-ui/flare-ui.lock (a partial archive does not compile, since the crate include_str!s assets from dash-editor/). vendor/ is re-generated as a cargo directory source with the new registry dependencies (maud, sha2, typenum, digest, generic-array, block-buffer, crypto-common, cfg-if, etc.) so the build still works offline. third-party/README.md records how to re-pin.
66 lines
2.5 KiB
Plaintext
66 lines
2.5 KiB
Plaintext
Iterations: 100
|
|
Instructions: 1300
|
|
Total Cycles: 510
|
|
Total uOps: 1300
|
|
|
|
Dispatch Width: 4
|
|
uOps Per Cycle: 2.55
|
|
IPC: 2.55
|
|
Block RThroughput: 4.0
|
|
|
|
|
|
Instruction Info:
|
|
[1]: #uOps
|
|
[2]: Latency
|
|
[3]: RThroughput
|
|
[4]: MayLoad
|
|
[5]: MayStore
|
|
[6]: HasSideEffects (U)
|
|
|
|
[1] [2] [3] [4] [5] [6] Instructions:
|
|
1 1 0.33 mov rax, rdi
|
|
1 5 0.50 * mov rcx, qword ptr [rsi]
|
|
1 5 0.50 * mov rdx, qword ptr [rsi + 8]
|
|
1 5 0.50 * mov rsi, qword ptr [rsi + 16]
|
|
1 1 0.50 lea rdi, [rsi + 2*rsi]
|
|
1 1 0.33 add rdi, rcx
|
|
1 1 0.33 add rdi, 9
|
|
1 1 0.33 sub rdx, rsi
|
|
1 1 1.00 * mov qword ptr [rax], rcx
|
|
1 1 1.00 * mov qword ptr [rax + 8], rsi
|
|
1 1 1.00 * mov qword ptr [rax + 16], rdi
|
|
1 1 1.00 * mov qword ptr [rax + 24], rdx
|
|
1 1 1.00 U ret
|
|
|
|
|
|
Resources:
|
|
[0] - SBDivider
|
|
[1] - SBFPDivider
|
|
[2] - SBPort0
|
|
[3] - SBPort1
|
|
[4] - SBPort4
|
|
[5] - SBPort5
|
|
[6.0] - SBPort23
|
|
[6.1] - SBPort23
|
|
|
|
|
|
Resource pressure per iteration:
|
|
[0] [1] [2] [3] [4] [5] [6.0] [6.1]
|
|
- - 2.00 2.00 4.00 2.00 3.50 3.50
|
|
|
|
Resource pressure by instruction:
|
|
[0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
|
|
- - 0.03 0.93 - 0.04 - - mov rax, rdi
|
|
- - - - - - 0.49 0.51 mov rcx, qword ptr [rsi]
|
|
- - - - - - 1.00 - mov rdx, qword ptr [rsi + 8]
|
|
- - - - - - 0.01 0.99 mov rsi, qword ptr [rsi + 16]
|
|
- - 0.93 0.07 - - - - lea rdi, [rsi + 2*rsi]
|
|
- - 0.05 0.02 - 0.93 - - add rdi, rcx
|
|
- - 0.49 0.49 - 0.02 - - add rdi, 9
|
|
- - 0.50 0.49 - 0.01 - - sub rdx, rsi
|
|
- - - - 1.00 - 0.50 0.50 mov qword ptr [rax], rcx
|
|
- - - - 1.00 - 0.50 0.50 mov qword ptr [rax + 8], rsi
|
|
- - - - 1.00 - 0.49 0.51 mov qword ptr [rax + 16], rdi
|
|
- - - - 1.00 - 0.51 0.49 mov qword ptr [rax + 24], rdx
|
|
- - - - - 1.00 - - ret
|