Skip to content

Instantly share code, notes, and snippets.

@paulschwoerer
paulschwoerer / chromium-createIIRFilter-bug.html
Created July 13, 2023 20:37
Minimal working example of Chromium bug when calling createIIRFilter() on Linux
<!--
Run the following file in Firefox and Chromium.
It has been observed, that createIIRFilter() takes around 50ms to complete in Chromium-based browsers on Linux (Ubuntu, Gnome, PulseAudio).
In Firefox, it takes <1ms.
createBiquadFilter() has been included as a reference.
It takes <1ms in both browsers.
-->
<!DOCTYPE html>
<html>
FROM golang:1.14.0-alpine as builder
WORKDIR /src
RUN apk add --no-cache \
git \
ca-certificates
ARG CADDY_SOURCE_VERSION=pki