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.
78 lines
3.0 KiB
Plaintext
78 lines
3.0 KiB
Plaintext
Iterations: 100
|
|
Instructions: 1900
|
|
Total Cycles: 641
|
|
Total uOps: 2000
|
|
|
|
Dispatch Width: 4
|
|
uOps Per Cycle: 3.12
|
|
IPC: 2.96
|
|
Block RThroughput: 5.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 cmp rsi, 12
|
|
1 1 0.50 setae al
|
|
1 1 0.33 mov ecx, esi
|
|
1 1 0.33 or ecx, edi
|
|
1 1 0.33 test cl, 3
|
|
1 1 0.50 sete cl
|
|
1 1 0.33 and cl, al
|
|
1 1 0.33 cmp cl, 1
|
|
1 1 1.00 je .LBB5_2
|
|
1 0 0.25 xor edi, edi
|
|
1 1 0.33 mov rax, rdi
|
|
1 1 1.00 U ret
|
|
1 1 0.33 add rsi, -9
|
|
1 1 0.33 movabs rcx, -6148914691236517205
|
|
1 1 0.33 mov rax, rsi
|
|
2 4 1.00 mul rcx
|
|
1 1 0.50 shr rdx
|
|
1 1 0.33 mov rax, rdi
|
|
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]
|
|
- - 6.33 6.33 - 6.34 - -
|
|
|
|
Resource pressure by instruction:
|
|
[0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
|
|
- - 0.99 - - 0.01 - - cmp rsi, 12
|
|
- - 1.00 - - - - - setae al
|
|
- - - 0.34 - 0.66 - - mov ecx, esi
|
|
- - - 0.99 - 0.01 - - or ecx, edi
|
|
- - - 1.00 - - - - test cl, 3
|
|
- - 0.67 - - 0.33 - - sete cl
|
|
- - - 1.00 - - - - and cl, al
|
|
- - - 1.00 - - - - cmp cl, 1
|
|
- - - - - 1.00 - - je .LBB5_2
|
|
- - - - - - - - xor edi, edi
|
|
- - 0.66 - - 0.34 - - mov rax, rdi
|
|
- - - - - 1.00 - - ret
|
|
- - 0.35 0.01 - 0.64 - - add rsi, -9
|
|
- - 0.65 0.33 - 0.02 - - movabs rcx, -6148914691236517205
|
|
- - 0.01 0.33 - 0.66 - - mov rax, rsi
|
|
- - 1.00 1.00 - - - - mul rcx
|
|
- - 1.00 - - - - - shr rdx
|
|
- - - 0.33 - 0.67 - - mov rax, rdi
|
|
- - - - - 1.00 - - ret
|