Repository navigation
Open
21 / 3621 of 36 issues completedLabels
trackerTracks work in sub-issues or a checklist; not claimable itself
Description
What
Parent issue for the next round of performance work after the SIMD wins (#756, #3003, #3005). Each opportunity is its own native sub-issue (see the Sub-issues panel), so it can be claimed, measured and closed on its own. Five read-only code scouts found them; none is measured yet.
Rules for every sub-issue
- Before/after numbers from
rust/tools/benchmarks/record.py(orci/benchmark_libobs.pyfor C, link or build changes) are in the PR. Nothing lands unmeasured. - Portable stable Rust, a scalar fallback with runtime CPU detection, ISA code only in
src/platform/, and Tier 3 parity bit-exact unless the sub-issue says otherwise. RED then GREEN. - The preserved C (obs-websocket, public headers, C tests) is out of scope.
Suggested order
- perf: fat LTO and one codegen unit for the Rust release profile (#3176) #3187 release profile LTO first, because it moves every baseline.
- The small, self-contained wins: perf: obs-audio-mix: add only into the active mixes #3189 audio mix masking, perf: obs-filters: skip log10f/powf below threshold in compressor, limiter and expander #3190 dynamics libm skip, perf: libobs-opengl: stop re-specifying the texture on every gs_texture_unmap #3191 GL texture unmap, perf: media-io: let video_scaler_scale write straight into the output frame #3192 scaler copy, perf: build: enable IPO for the shipped RelWithDebInfo C build #3193 C IPO.
- The other audio items, then RTMP batching (perf: obs-outputs: batch RTMP chunks into one writev/sendmsg #3207) and the interleave ring (perf: libobs: tail-scan insert and a ring buffer for the output interleave queue #3209).
- The frame-lifetime redesign (perf: libobs: upload async frames without the second system-memory copy #3201 with perf: libobs: expose mapped staging memory as the video-io cache frame #3202) and the build projects (perf: build: opt-in cross-language ThinLTO between libobs C and the Rust staticlib #3217 cross-LTO, perf: runtime-dispatched AVX2 for the hot audio and video kernels #3218 AVX2 dispatch, perf: build: PGO for libobs and the Rust staticlib #3219 PGO).
Considered and rejected
- Global
-ffast-math: breaks parity and NaN handling. - mimalloc or jemalloc for the Rust side only: the heap splits across
bmalloc/bfree. - Global
-O3without moving the oracle'sSHIPPED_C_OPT_LEVELin step (perf(bench): build the port_comparison C at the shipped optimization level #3127).
New findings go in as new sub-issues, not as checklist lines here.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 36 sub-issues
Metadata
Metadata
Assignees
Labels
trackerTracks work in sub-issues or a checklist; not claimable itself
Type
Projects
- StatusShow more project fieldsTracker
Activity
11 remaining items
[-]perf: meta — next performance wins after SIMD (audio mix masking, dynamics libm skip, GL upload, LTO, RTMP batching, …)[/-][+]perf: meta — next performance wins after SIMD[/+]docs(coordination): file meta issues as native sub-issues, not one ti…