0.8.1 came out on 2026-10-26, a day after the 0.8.0 the three spikes were
measured on. `=0.8.1` in spikes/gpui/Cargo.toml and `cargo update -p
gpui-kit --precise 0.8.1` move 40 packages of the lock (1,069 entries
before, 1,065 after): gpui-kit, gpui-base, gpui-component and
gpui-kit-assets to 0.8.1, the 19 gpui-pre crates to 0.3.10, wgpu 29 to 30
(naga 29 to 30), taffy 0.13 to 0.15. No source change: the spikes build as
they were, release, on Rust 1.95.0.
One run of each README's measurement command on Xvfb :96 (openbox, a
private bus, lavapipe through wgpu's Vulkan backend, state under .scratch)
with the machine at a load average of 64 to 80 (the 0.8.0 runs: 28 to 53):
- composer drive.sh 8 PASS, ime.sh 3 PASS, windows drive.sh 11 PASS, no FAIL;
the composer's screenshot differs from the committed one in 579 of 900,000
pixels;
- video: static 1440p 22.7 fps shown at 259 % CPU (11.4 % of CPU per fps,
0.8.0: 11.7), raw 1440p60 13.4 fps at 174 % (13.0; 0.8.0: 12.5 to 13.1),
memory flat with drop_image, +408 MiB in 10 s without it; windows-both
123 % of a core, the preview shown 14.4 of 15 a second, memory flat.
The frame rates are lower than 0.8.0's because of the load; the cost of a
shown frame is the same. The report says plainly that the 42 to 49 fps raw
1440p figures were not reproduced on 0.8.1, only the cost per frame was.
So the pin is gpui-kit 0.8.1, exactly. docs/design/gpui-spikes.md ("The
version to pin", the status paragraph, the setup table) and the spikes'
README say so; its figures stay 0.8.0's.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
61 lines
2.4 KiB
TOML
61 lines
2.4 KiB
TOML
# The GPUI spikes of plan section 6 step 1 (docs/design/gpui-spikes.md): a
|
|
# workspace of its own with its own lock, not a member of the root workspace,
|
|
# so the root's lock, deny policy, notices and CI stay as they are. It builds
|
|
# into the checkout's target directory (.cargo/config.toml).
|
|
[workspace]
|
|
resolver = "3"
|
|
members = ["common", "video", "composer", "windows"]
|
|
|
|
[workspace.package]
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
# gpui-pre (every 0.3.x release) calls std::hint::cold_path, stable since 1.95.
|
|
rust-version = "1.95"
|
|
license = "MIT OR Apache-2.0"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
# GPUI, gpui-component and their assets, pinned exactly (pre-1.0).
|
|
gpui-kit = "=0.8.1"
|
|
spike-common = { path = "common" }
|
|
# The client's crates, read only. voelin-core brings LocalPreview (the test
|
|
# pattern through the real encoder and decoder).
|
|
voelin-core = { path = "../../crates/voelin-core", default-features = false, features = ["media"] }
|
|
# The desktop codecs of `media-desktop` (libvpx, dav1d, OpenH264, FFmpeg at
|
|
# run time) and X11 capture, without `pipewire`: it enables ashpd's `tokio`
|
|
# feature, GPUI enables its `async-io` one, and ashpd refuses both
|
|
# (docs/design/gpui-spikes.md, "Dependencies").
|
|
voelin-media = { path = "../../crates/voelin-media", default-features = false, features = ["vpx", "openh264", "ffmpeg", "av1", "x11"] }
|
|
voelin-platform = { path = "../../crates/voelin-platform", default-features = false, features = ["x11"] }
|
|
voelin-ui-vm = { path = "../../crates/voelin-ui-vm" }
|
|
# The revision the root workspace pins (chat messages for voelin-ui-vm).
|
|
voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" }
|
|
# Logs of GPUI (the adapter it picked) and of the client's crates.
|
|
env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
|
|
log = "0.4"
|
|
# The same version voelin-media converts with.
|
|
yuv = "=0.8.19"
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "deny"
|
|
missing_docs = "warn"
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "warn", priority = -1 }
|
|
|
|
# As the root workspace: dimpl (DTLS for str0m, under voelin-stream) with its
|
|
# patch.
|
|
[patch.crates-io]
|
|
dimpl = { path = "../../third_party/dimpl" }
|
|
|
|
[profile.release]
|
|
debug = "line-tables-only"
|
|
|
|
# As the root workspace's dev profile: media code optimised in debug builds.
|
|
[profile.dev.package.yuv]
|
|
opt-level = 3
|
|
[profile.dev.package.voelin-media]
|
|
opt-level = 3
|
|
[profile.dev.package.dav1d]
|
|
opt-level = 3
|