---
title: "Vector Vibing to speed up Opus encode by 20%"
url: https://daily.dev/posts/vector-vibing-to-speed-up-opus-encode-by-20--3thskyanw
source_url: https://webrtchacks.com/vector-vibing-to-speed-up-opus-encode-by-20
type: article
source: "WebRTC Hacks"
published: 2026-07-02T13:09:35.839Z
updated: 2026-07-02T16:21:52.828Z
tags: ["chromium", "webrtc"]
reading_time: 7
upvotes: 2
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Vector Vibing to speed up Opus encode by 20%

**[WebRTC Hacks](https://daily.dev/sources/webrtchacks)** · 7 min read · 2 upvotes · 0 comments

## Summary

Opus audio encoding in desktop Chromium got 20-23% faster for speech by enabling AVX2 vectorization in libopus. The AVX2 kernels had been present in the codebase since the 1.5.2 roll in April 2024 but were never wired into the build — a 30-line BUILD.gn change fixed that. Benchmarks show speech encode drops 17-23% while music barely moves (~2%), because two of the three AVX2 kernels live in the SILK encoder used for speech. Notably, 96% of the SILK win comes from a single function (silk_NSQ_del_dec), not the one with the biggest per-call gain. The author also highlights how AI assistance (Claude) made the benchmarking and attribution work cheap enough to actually do properly. The fix landed in Chromium 152, and the same vectorization kernels in libopus are available for server-side Opus encoding too.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://webrtchacks.com/vector-vibing-to-speed-up-opus-encode-by-20>

## Similar posts on daily.dev

- [FFmpeg Lands Latest AVX-512 Optimization: 1.372x Faster In Pixel Format Conversion](https://daily.dev/posts/ffmpeg-lands-latest-avx-512-optimization-1-372x-faster-in-pixel-format-conversion-ciayyw4zi) · Phoronix · 2 upvotes · 0 comments
- [Opus 1.6 Audio Codec Adds New Machine Learning Functionality](https://daily.dev/posts/opus-1-6-audio-codec-adds-new-machine-learning-functionality-wcajyeryk) · Phoronix · 0 upvotes · 0 comments
- [AVX-512: First Impressions on Performance and Programmability](https://daily.dev/posts/avx-512-first-impressions-on-performance-and-programmability-zvccn3onc) · Hacker News · 1 upvotes · 0 comments
- [Full Unicode Search at 50× ICU Speed with AVX‑512](https://daily.dev/posts/full-unicode-search-at-50-icu-speed-with-avx-512-s9bwdg8zf) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#chromium](https://daily.dev/tags/chromium), [#webrtc](https://daily.dev/tags/webrtc)

[View this post on daily.dev](https://daily.dev/posts/vector-vibing-to-speed-up-opus-encode-by-20--3thskyanw)
