mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
### What does this PR do? Evidently, Ubuntu turns them on by default. Claude: ``` > What is the typical overhead for glibcxx assertions? ⏺ The overhead of glibc/libstdc++ assertions can be significant, especially in performance-critical code: Typical Overhead Ranges: libstdc++ (C++ standard library) assertions: - 5-15% overall performance impact in typical applications - Up to 30-50% in container-heavy code (vectors, maps, etc.) - Iterator validity checks are particularly expensive glibc (C library) assertions: - 2-8% overall impact in typical applications - Up to 20% in malloc/free intensive code - Heap consistency checks, buffer overflow detection ```