spikes/gpui/README.md: the nightly clippy command; report: 9.6 as measured
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6f2c64aa63
commit
8c172f4dc5
2 files changed
+2
-1
No files matched your search
@@ -19,7 +19,7 @@ exception is explained (a counter window longer than the case). `gpui-kit`
|
||||
|
||||
| Spike | The plan's no-go | Seen (software rendering, see Setup) | Verdict |
|
||||
|---|---|---|---|
|
||||
| 1. Video | below 30 fps at 1440p60 with no custom-element way out | `img()` with the port of `video.rs`' delivery, **raw (frames from memory, no decoder)**: 42 to 49 fps at 1440p60, 55 to 58 at 1080p60, on lavapipe; with the real VP8 encoder and decoder in the same process (pipeline) 40.8 fps at 1440p60 in a quiet window (the reviewer's run) and 10 at a busy one (the pipeline scales with free CPU); `cx.drop_image` keeps the atlas flat; a new 1440p picture costs GPUI's thread 6 to 7 ms; a persistent texture needs a GPUI change | **go**, with a GPU run first in the viewer slice |
|
||||
| 1. Video | below 30 fps at 1440p60 with no custom-element way out | `img()` with the port of `video.rs`' delivery, **raw (frames from memory, no decoder)**: 42 to 49 fps at 1440p60, 55 to 58 at 1080p60, on lavapipe; with the real VP8 encoder and decoder in the same process (pipeline) 40.8 fps at 1440p60 in a quiet window (the reviewer's run) and 9.6 at a busy one (the pipeline scales with free CPU); `cx.drop_image` keeps the atlas flat; a new 1440p picture costs GPUI's thread 6 to 7 ms; a persistent texture needs a GPUI change | **go**, with a GPU run first in the viewer slice |
|
||||
| 2. Composer, IME, chat lines | no usable preedit | X11 preedit with fcitx5 and Pinyin works (marked text, candidate window at the caret, commit); emoji at the caret, paste, Ctrl+Enter, `TextRun`s as `StyledText` with links all work; Wayland preedit not exercised headless; colour emoji need a one-line GPUI patch | **go** |
|
||||
| 3. Second window | the second window cannot share state or steal the hotkey | one root entity in two windows, both change it, focus, fullscreen and close work, the X11 global hotkey reaches the model while the second window has focus, the preview is one shared `RenderImage` (+46 % of a core on lavapipe for the second window) | **go** |
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo fmt -p spike-common -p spike
|
||||
spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo clippy --locked --all-targets -- -D warnings'
|
||||
spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo test --locked'
|
||||
TOOLCHAIN=nightly spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo build --locked'
|
||||
TOOLCHAIN=nightly spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo clippy --locked --all-targets -- -D warnings'
|
||||
```
|
||||
|
||||
## Headless displays
|
||||
|
||||
Reference in new issue
Block a user