Repository navigation
vk 0.13.1+1.4.365 — development release
Pre-releasevk 0.13.1 — Allocator performance and benchmark coverage
Development release, 2026-11-14. Cargo package vkrust 0.13.1+1.4.365,
Rust library/import name vk, Git tag v0.13.1, MIT licensed.
The Vulkan header snapshot remains 1.4.365; it is not a minimum driver version.
Public function names and signatures are unchanged.
Allocator changes
Native-backing admission now uses a callback-owned handle index rather than a
scan of live allocations. TLSF nodes shrink from 72 to 56 bytes on x86-64 while
retaining full-width generations and checked indexing. Managed creation reuses
its admitted options; unchanged options and internal chain policy are borrowed.
Binding snapshots the authoritative live byte range without reconstructing a
full allocation token. Ordinary and synchronized owners still share binding
execution/publication, with native leases retaining the device before unlocking.
Linear placement checks complete edge generations before interior lookup and
pops retired tails while preserving ring/double-stack cleanup and compaction.
Memory selection visits eligible mask bits in tie-preserving order. Association
retirement reuses its existing probe. Native-output checks, guards, mapped-release
rejection, callback ownership and transactional rollback remain in place.
TLSF free-range visitation no longer reports the tail twice. Independent range,
generation-exhaustion, compaction/reuse, conditional-registry and 32-type mask
tests cover the affected contracts.
Measured results
The complete Surface Laptop 5 report
retains all 44 allocator configurations, four mapping measurements, immutable
before/after/VMA triplets, rejected experiments and historical Ash/Vulkano runs.
On the recorded Intel Iris Xe/Mesa device, the latest pass improves pooled buffer
lifetimes by about 7–13% and linear virtual stack lifetimes by 23% against the
preceding allocator checkpoint. Stack free alone improves about 45%.
Minimum-offset virtual churn measures 0.752× VMA combined host time
(95% interval 0.706–0.769). Default native pooled buffers remain slower, around
1.40× for LIFO and up to 1.61× in this matrix. Mapping cycles are about 3% slower.
The target of below 0.9× across the suite is not met. Shared workstation load
and unlocked clocks limit these exploratory results.
Native VMA uses its default internal mutexes; ordinary vk uses exclusive access.
Virtual placement is externally synchronized on both sides. No individual
safety check is assigned a measured share of the remaining gap. Ash and Vulkano
results retain their November 13 paired implementation and are not presented as
fresh measurements of this patch.
Verification and scope
The runtime implementation passes all 32 named native profiles under each of
core and synchronization validation, with all optional profiles required.
Both benchmark consumers pass all 44 configurations in each validation mode.
Pinned donor and independent models cover 56 virtual traces / 112,344 operations,
1,024 native traces / 756,000 operations and 12 concurrency comparisons, with
zero diagnostics. C++ ASan/UBSan/leak checking covers the donor and synthetic
driver; it does not imply Rust sanitizer coverage.
Workspace tests, strict Clippy, formatting, generation and packaged-consumer
checks gate this release. The exact public CI run and release assets own the
Linux/macOS/Windows and software-Vulkan release evidence. Hardware qualification
remains specific to the recorded device; broader performance, platform and
VMA-equivalence claims remain outside the qualified scope.