Skip to content

perf: meta — next performance wins after SIMD #3176

Open
21 of 36 issues completed
Open

Description

@zackees

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 (or ci/benchmark_libobs.py for 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

  1. perf: fat LTO and one codegen unit for the Rust release profile (#3176) #3187 release profile LTO first, because it moves every baseline.
  2. 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.
  3. 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).
  4. 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

New findings go in as new sub-issues, not as checklist lines here.

Sub-issues

Sub-issues

21 of 36 Issues completed
Loading 36 sub-issues

Activity

  1. added
    tracker
    on Oct 31, 2026
  2. 11 remaining items

  3. changed the title [-]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[/+] on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tracker

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions