Topic

Performance

Discover performance optimization trends covering profiling, caching, and resource efficiency. Our digest synthesizes concurrency patterns, memory management, and database tuning from developer communities.

What this topic tracks

  • Engineering practices and ecosystem debates
  • Tools, architecture, and implementation lessons
  • Relevant discussions from developer communities

Performance · 970 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

EasyEffects should be part of every Linux distribution to improve laptop speaker sound quality

osnews.com · 27 Aug

Linux · Performance · Operating Systems

EasyEffects uses PipeWire audio processing and presets to significantly improve the thin, harsh sound of laptop speakers on desktop Linux.

Generic or model-specific presets can be imported easily, with minimal CPU impact, though results vary by hardware, content, and personal preference. The article urges Linux distributions, OEMs, KDE, and GNOME to integrate speaker tuning by default.

musicurgy/delta-inference-engine

github.com · 28 Oct

Artificial Intelligence · Backend · Large Language Models · Performance · Windows

Delta Inference Engine is a native Windows port that runs all 552 billion parameters of DeepSeek-V4.1-Flash-1017, using 2-bit experts, on a single consumer NVIDIA GPU.

It provides OpenAI- and Anthropic-compatible APIs with up to 1M-token context, while RAM and fast NVMe storage stream model data. Conversation caching, speculative decoding, CPU/GPU adaptation, SHA-256-verified downloads, and support for GSQ-RCO and Unsloth quants distinguish it from typical inference setups.

Suica, Japan's First IC Transit Card

tokyodev.com · 26 Aug

Distributed Systems · Hardware · Performance

Suica evolved from Sony’s FeliCa experiments into Japan’s pioneering contactless transit and payment system.

Designed for battery-free, offline transactions under 200 milliseconds, it overcame resistance, infrastructure challenges, and severe usability problems before launching across Tokyo in 2001. Its technology later expanded nationwide, powered Mobile Suica, and influenced today’s transit payments while facing a gradual shift toward smartphone and credit-card alternatives.

Steel Bank Common Lisp

sbcl.org · 24 Feb

Performance · Programming Languages · Open Source

Steel Bank Common Lisp (SBCL) is a high-performance, open-source ANSI Common Lisp compiler and runtime system.

It includes an interactive debugger, profiler, and code coverage tools. Supporting multiple platforms like Linux, macOS, and Windows, the project recently released version 2.6.1, maintaining its comprehensive manual and active bug-tracking community.

RTX 5090 and Raspberry Pi: Can It Game?

scottjg.com · 8 Jan

Hardware · Linux · Performance

This technical investigation explores the feasibility of attaching an external NVIDIA RTX 5090 GPU to a Raspberry Pi 5 and other low-power SBCs like the Radxa ROCK 5B and Beelink MINI-S13.

Using OCuLink docks and custom driver patches for ARM, the test benchmarks several games including Cyberpunk 2077, Portal 2, and Hitman: Absolution. The results reveal that while technically possible, the Raspberry Pi 5 faces severe CPU bottlenecks and performance degradation due to the FEX compatibility layer. Native x86 systems like the Beelink consistently outperformed the ARM boards. However, the experiment successfully demonstrated 4K gaming on a Raspberry Pi 5 with older titles like Portal 2, highlighting the potential for future ARM-based gaming optimization despite current hardware limitations.

A faster way to compute signed 64-bit floor division by constants

benjoffe.com · 27 Oct

Algorithms · C++ · Low-Level Programming · Performance

Ben Joffe introduces a compile-time constant algorithm for signed 64-bit floor division, using a sign-selected magic multiplier and wide multiply-shift.

Benchmarks report 10–20% higher throughput than existing methods on ARM for most divisors, and 5–10% gains on x86 for about 80% of positive and 60% of negative divisors, with trade-offs in remaining cases. The article compares Granlund–Montgomery and Robison techniques, derives implementation details, and warns of TensorFlow’s historical overflow bug.

Removing Next.js Got My Blog to 100 on Every Lighthouse Category

korindiehacker.bloffy.blog · 26 Oct

Frontend · JavaScript · Next.js · Performance

The author removed Next.js from a static blog and replaced it with Hono, achieving 100 scores across Lighthouse categories.

Next.js continued shipping client runtime, hydration, RSC payloads, and about 230,460 bytes of unused JavaScript even with server components and optimized caching and images. The Hono version delivered no JavaScript, reduced unused code to 407 bytes, cut build time by 40%, and reduced pre-rendering long-task time from 309.3 ms to 68.01 ms, a 78% improvement.

Hilariously Fast Volume Computation with the Divergence Theorem

alyssarosenzweig.ca · 28 Aug

Algorithms · Performance · Computer Science

The article derives a fast O(n) algorithm for computing the volume of a simple, closed, triangulated 3D mesh using the Divergence Theorem.

By converting the volume integral into triangle surface integrals, it obtains a constant-cost per-triangle formula requiring only additions and multiplications, making CPU-based real-time computation highly efficient. The author later notes the method is not novel.

Obscure audio codec is a perfect fit for the N64

phoboslab.org · 5 Nov

Algorithms · Low-Level Programming · Performance

ULC has been ported to Libdragon as a practical N64 audio codec, delivering 44100 Hz stereo at bitrates and quality close to Opus while using about 4% of the CPU and 5% of the RSP.

Its simple MDCT-based transform and nibble-aligned format avoid expensive entropy decoding, while a 16-bit fixed-point RSP implementation handles IMDCT, lapping, stereo interleaving, and scaling. ULC is roughly four times more complex than ADPCM but supports background music, speech, ambience, and long sound effects during gameplay.

The case against JPEG XL

giannirosato.com · 13 Sept

Algorithms · Performance · Computer Science

The analysis argues JPEG XL is technically versatile but poorly suited to the Web: optimized AVIF offers stronger lossy compression, faster decoding, better progressive rendering, and a mature ecosystem, while JXL’s complexity creates performance and security risks.

JPEG XL may excel in professional and archival workflows, but browser adoption would add compatibility costs without clear Web benefits.

mold: A Massively Parallel Linker

arxiv.org · 24 Aug

Low-Level Programming · Performance · Operating Systems

mold is a Unix/Linux linker designed to eliminate linking bottlenecks in large C++ builds.

Its clean-slate architecture decouples symbol resolution and archive processing, enabling data parallelism throughout the pipeline. On real-world programs, mold links multi-gigabyte debug binaries in seconds or less, achieving 2.4–16.1× the speed of lld and up to 112× GNU ld.

Our Looping Factory Cut DEV Page Load Time by 75% and Counting

dev.to · 9 Nov

Artificial Intelligence · Backend · Performance · Rails · AI Agents

DEV cut average Rails request time from about 70ms to 16ms, reducing database, view-rendering, and Redis time, while merging 475 Forem PRs in 30 days.

A self-hosted OpenHands software factory using the Agent Client Protocol runs autonomous loops with Better Stack telemetry, Postgres access, isolated worktrees, multiple model providers, and specialized performance, Rust, test, error, and dependency workflows. This automates systematic maintenance, leaving humans for bespoke product, delivery, caching, and observability work.

Building a Tiny 3D Renderer for a Tiny Handheld

saffroncr.itch.io · 22 Jul

C · Performance · Software Architecture

Developing a custom 3D software renderer for the Playdate handheld requires overcoming significant hardware limitations.

By leveraging BSP trees for visibility, custom dithering for 1-bit display, and aggressive CPU-level optimizations, the project successfully achieves playable real-time performance. This journey demonstrates that achieving functional results through incremental optimization is more effective than pursuing perfection.

Choosing a Public DNS Resolver

evilbit.de · 27 Jun

Cybersecurity · Performance · Computer Science

This guide helps users choose a public DNS resolver based on personalized priorities like privacy, speed, and filtering.

It evaluates 29 global providers using peer-reviewed research, analyzing factors like encrypted transport protocols, logging policies, DNSSEC validation, and jurisdictional impact to ensure users make informed decisions regarding their network security and performance.

Julia 1.13 Highlights

julialang.org · 10 Sept

Performance · Programming Languages · Testing

Julia 1.13 delivers substantially faster precompilation, startup, garbage collection, task scheduling, package management, and spawning.

It adds native REPL syntax highlighting, fuzzy history search, Windows bracketed paste, @__FUNCTION__, --trace-eval, improved introspection, JuliaC.jl, and a Juliaup GUI. Hashing is faster, while Pkg uses zstd, improves resolution, and reduces redundant precompilation.

Qwen4-35B-A3B + 5090 + Basalt Early Benchmarks

github.com · 4 Dec

Artificial Intelligence · Large Language Models · Machine Learning · Performance · LLM Benchmarks

Basalt now supports Qwen4-35B-A3B on qwen4exp, with MTP, vision, DFlash 2, and optimized 2048-wide kernels for RTX 5090.

The NVFP4/BF16-derived packs achieve 95.19–95.69% top-1 against BF16, while MTP reaches 454 conversation and 645 structured tok/s; batching reaches 1,281 tok/s at 64 requests. Tools, images, video, and 1M context work, with bitwise batch identity verified. Compared with Qwen3.6-35B-A3B, Qwen4’s quality is strong but throughput remains lower, largely because its drafter accepts fewer tokens.

One Hash Bloom Filters

calabro.io · 19 Oct

Algorithms · Backend · Go · Low-Level Programming · Performance

Bluesky adopted a one-hash Bloom filter (OHBF), implemented in Go as gloom, to reduce hashing overhead while preserving Bloom-filter behavior.

It partitions the bit array into pairwise-coprime sizes, derives positions from one hash, and uses cache-aligned 64-byte blocks so lookups need at most one cache miss. Atomic updates replaced mutexes, cutting deploy time from 90 to 15 minutes; sharding further reduces write contention. The filter has run in production for nine months and also powers jetstream.

Watching Go's new garbage collector move through the heap

theconsensus.dev · 25 Jul

Go · Performance · Software Architecture

Go 1.26 introduced the Green Tea garbage collector, which enhances cache efficiency by scanning memory spans rather than following individual pointers.

Unlike C#, Go's non-moving allocator can struggle with memory fragmentation and sparse pages. While Go offers high performance, developers must handle manual memory packing to fully reclaim space after large object cycles.

Long Live Rails

dev.to · 12 Nov

Backend · Performance · Rails · Ruby · Software Architecture

Rails remains a strong foundation because it combines Ruby conventions with native Rust performance inside one monolith.

In production, Forem replaced CPU-bound Ruby hot paths with an in-process Rust extension, cutting DEV page-load time by 75%; Markdown processing became roughly 54x faster and feed ranking 20x faster. Precompiled binaries mean users need no cargo. Rails 8.2 also adds a safe, read-only bin/rails query command for structured database inspection, replacing bespoke tooling for developers and coding agents.

Where it came fromHacker NewsLobstersRedditDev.toCreate a Snapbyte.dev digest and choose Performance as one of your topics.Build your digest