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

Making Postgres 300x faster for analytics: batching, operator fusion, and SIMD

malisper.me · 3 Aug

Database · Performance · Rust

pgrust 0.2 introduces significant performance gains, operating up to 300x faster than Postgres on analytical benchmarks.

By replacing the traditional Volcano model with optimizations like batching, operator fusion, and SIMD, the project modernizes database execution for modern hardware, focusing on CPU and memory efficiency to surpass traditional bottlenecks found in legacy systems.

Dolphin Progress Release 2603

dolphin-emu.org · 12 Mar

Performance · Open Source · Computer Science

Dolphin's 2603 release introduces Triforce arcade support and major optimizations.

A breakthrough in Page Table Fastmem Mappings drastically improves performance for the Rogue Squadron series. Additionally, a five-year investigation into floating-point rounding bugs finally resolved desync issues in Mario Strikers Charged, while new features include game-to-RAM loading and simplified SDL controller hints.

What came first: the CNAME or the A record?

blog.cloudflare.com · 14 Jan

Cloud Computing · Performance

Following a routine memory optimization update on January 8, 2026, the 1.1.1.1 DNS service experienced widespread resolution failures.

The issue stemmed from a code change that inadvertently altered the sequence of records in DNS responses, placing CNAME records at the end of the answer section rather than at the beginning. While modern systems often handle varied record ordering, legacy implementations like glibc's getaddrinfo and certain Cisco hardware rely on sequential parsing. These clients failed when CNAME records did not appear first. The incident highlights a 40-year-old ambiguity in RFC 1034 regarding record ordering. Cloudflare has since reverted the change and proposed a new Internet-Draft to the IETF to standardize DNS response ordering and prevent future interoperability issues.

Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM

firenook.dev · 5 Nov

Backend · CLI · NoSQL · Performance · Rust

Firenook 0.2.0 is an independent, Apache-2.0 open-source Rust replacement for Firebase emulators, using the same ports, SDK connections, configuration, and official import/export formats.

It emulates Firestore, Auth, Storage, Functions, Extensions, Pub/Sub, Cloud Tasks, and Eventarc, with a console, persistent state, test execution, and MCP tools. On a real application, it claims 40× faster median writes, 10× lower peak RAM, 19× faster listener updates, and 52× faster restarts. Realtime Database, Hosting, App Hosting, and Data Connect are unsupported.

vLLM now has PLE disk offload support on nightly

github.com · 30 Oct

Artificial Intelligence · Backend · Large Language Models · Machine Learning · Performance

vLLM nightly adds PLE disk offload for Qwen4Exp via `--engram-config '{"disk_offload": true}'`.

The PLE n-gram table remains in checkpoint files; each step reads needed rows on the host, leaving no GPU or pinned-host copy. On a DGX Spark GB10, Qwen3.8-Flash-Next NVFP4 used 27.0 GiB less loaded memory. Decode stayed within 3.5% of a resident table, GSM8K was unchanged, and TTFT rose about 11%; local NVMe is recommended because cold network-storage prefills are 2–4.5× slower.

Avoiding Trigonometry

iquilezles.org · 12 Mar

Performance · Software Architecture · Mathematics

The author argues that overusing trigonometry in 3D algorithms is often a sign of inexperience.

By replacing sine, cosine, and arc-cosine functions with dot and cross products, programmers can achieve more stable, efficient, and elegant code. The article demonstrates this by optimizing an object orientation function, eliminating expensive trigonometric calls in favor of pure vector operations.

A faster way to calculate the day-of-the-week

benjoffe.com · 17 Aug

Algorithms · Low-Level Programming · Performance

Ben Joffe presents highly optimized algorithms for converting signed 32-bit rata-die values to weekdays.

Using fixed-point multiplication, bit shifts, Mersenne-modulus identities, and platform-specific instruction scheduling, the methods achieve near-minimal latency on x86 and ARM, including full-range and restricted-range variants. The techniques also generalize to fast modulus operations such as x % 24 and x % 60.

Ardour 9.0 Released

ardour.org · 5 Feb

macOS · Performance · Open Source

Ardour 9.0 has been released as a major update to the open-source digital audio workstation (DAW), introducing several highly requested features.

Key highlights include the addition of Pianoroll windows for dedicated MIDI editing, region-based effects (Region FX) for non-destructive processing, and cue recording capabilities that allow Ardour to function as a clip-based looper similar to Ableton Live. The update also features a multi-touch GUI for Linux and Windows, improved drawing performance on macOS, and a new perceptual analyzer for signal visualization. Under the hood, the project has transitioned to C++17, necessitating a drop in support for versions of macOS older than High Sierra. Dozens of workflow refinements, bug fixes, and new MIDI binding maps for hardware controllers are also included in this release, alongside updated documentation and translations.

Qwen4-35B at 1M context on two AMD R9700s: a 950K prompt prefilled in 2 minutes, full setup inside

doug.sh · 5 Dec

Artificial Intelligence · Hardware · Large Language Models · Performance · LLM Benchmarks

Qwen4-35B-A3B ran on two AMD Radeon AI PRO R9700s with radiance 2.5.0, pre-filling a 950K-token prompt in about two minutes at 7,900 tok/s.

Its IQ8R weights, int8 KV cache, tensor-parallel execution, and DFlash2 drafter fit the 35B-parameter MoE model within two 32GB cards. Recall was 118/120 codes through 900K tokens. A three-token drafter setting beat seven tokens and disabled settings under tested concurrency, while 128 checkpoint slots improved twelve-agent caching.

incoai/Qwen3.8-Flash-Next-DFlash2

huggingface.co · 19 Oct

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

DFlash 2 is a 0.6B-parameter block-diffusion draft model for Qwen3.8-Flash-Next, running inside SGLang’s speculative decoding server rather than standalone.

It predicts token blocks in one pass, selects coherent candidate paths, and uses dynamic convolutions to reduce end-of-block decay while preserving lossless decoding. On one NVIDIA GB300, it exceeded built-in MTP in acceptance and throughput: at concurrency 1, it reached 344–384 output tok/s (1.63–1.82× autoregressive), versus MTP’s 285–326 tok/s.

How we run Firecracker VMs inside EC2 and start browsers in less than 1s

browser-use.com · 15 Jun

AWS · Cloud Computing · Performance

Browser Use Cloud reduced costs by using Firecracker to run headless Chromium within nested VMs on regular EC2 instances.

By optimizing memory page faults, using custom snapshots, and pinning virtual CPUs, they improved performance while maintaining high stealth levels. Future plans include snapshotting live browsers to nearly eliminate startup time entirely.

Vibecoding an inference chip

ankitg.me · 20 Nov

Artificial Intelligence · Hardware · Large Language Models · Low-Level Programming · Performance

A coding agent built and optimized a bit-exact ternary ML inference implementation on an AWS F2 FPGA, reaching 213.13 tokens/s—33× its 6.43-token/s baseline after hundreds of experiments.

The project generated about 3M lines of code and cost $10,000 in model tokens. The final system matched the CPU reference on all 24 benchmark turns, ran 1.65× faster than a 32-thread CPU twin, and showed that human guidance mainly improved iteration speed and correctness constraints.

Claude’s C Compiler vs. GCC

harshanu.space · 8 Feb

Performance · Programming Languages · Computer Science

This benchmark analysis explores the performance and capabilities of Claude's C Compiler (CCC), an AI-developed C compiler built entirely by Anthropic's Claude Opus 4.6.

While CCC successfully compiled all 2,844 C source files of the Linux 6.9 kernel and produced a functionally correct SQLite binary, the evaluation reveals significant limitations compared to GCC. CCC-compiled code suffers from extreme performance degradation, with SQLite queries running between 737x and 158,000x slower than GCC's-O0 baseline. The root cause is identified as poor register allocation, resulting in excessive register spilling and a binary size nearly three times larger than GCC's. Additionally, CCC failed at the kernel linking stage due to incorrect relocation entries and currently treats all optimization flags as no-ops. While the project demonstrates the potential of LLMs to generate complex software architectures from scratch in Rust, it is currently unsuitable for production use compared to the decades of optimization maturity found in GCC.

Turbovec – Google's TurboQuant for vector search in Rust

github.com · 18 Aug

Algorithms · Performance · Open Source

turbovec is a Rust vector index with Python bindings that uses Google Research’s TurboQuant for training-free, online vector quantization.

It compresses a 10-million-document corpus from 31 GB to 4 GB, while delivering faster SIMD search than FAISS. Features include incremental crash-safe persistence, in-kernel filtering, stable IDs, local deployment, and integrations with major RAG frameworks.

Command-line JSON filtering at 20 GB/s

lemire.me · 25 Nov

CLI · C++ · Performance

sjq is a jq-compatible command-line JSON filter built on simdjson, reaching 3.5 GB/s with one thread and 20 GB/s with 32 threads on a 1 GB NDJSON file—about 37× and 210× faster than jq 1.8.2.

It accelerates navigation by parsing only needed fields and parallelizing independent lines while preserving output order. sjq passes 728 of jq’s 781 tests, supports most major features, and adds FracturedJson formatting, though modules, very large numbers, deep nesting, and some syntax differ.

snuri00/psp-web-recomp

github.com · 7 Oct

C++ · Low-Level Programming · Performance · Software Architecture

PSP Web Recomp runs PSP games in browsers without an emulator by statically translating decrypted MIPS executables into C++, compiling them to WebAssembly, and linking them to a high-level PSP kernel and WebGL2 renderer.

It supports streamed disc data, PSP graphics and audio, worker-thread rendering, and touch controls. God of War: Chains of Olympus reaches 60 FPS at up to 4× resolution; Ghost of Sparta reaches 55–60 FPS at 3×. Game data is not included.

Modders unlock hidden AI power on Nvidia RTX 20, 30, and 40 series GPUs, nearly doubling some benchmarks

techspot.com · 27 Oct

Artificial Intelligence · Hardware · Performance

Open-source projects can remove Nvidia’s half-speed FP32-accumulate tensor-core limit on GeForce RTX 20-, 30-, and 40-series GPUs without flashing a VBIOS or patching drivers.

Tests report gains up to 80% on RTX 3090 Ti, 100% raw FP16 instruction-rate improvement on RTX 4090, and 36–64% faster FP16 matrix math on RTX 2080 Ti. Benefits mainly target image generation, fine-tuning, and prompt processing; gaming and chatbot generation change little. Support is mostly Linux, with uncertain hardware-risk warnings.

Super ZSNES – GPU Powered SNES Emulator

zsnes.com · 27 Apr

Performance · Software Architecture · UI

The original developers of ZSNES have launched SUPER ZSNES, a ground-up rewrite featuring GPU-powered emulation, improved accuracy, classic UI, and a new Super Enhancement Engine.

This tool offers high-resolution graphics, widescreen support, and audio upgrades for select SNES titles. It is an early-stage project focusing on classic development without ROM distribution.

Joins are NOT Expensive

database-doctor.com · 30 Mar

Database · Performance · SQL

This analysis challenges the misconception that frequent database joins are expensive, instead showing they are efficient and scalable.

Using DuckDB and PostgreSQL benchmarks, it demonstrates that 'One Big Table' (OBT) models often consume more CPU due to data reassembly and projection costs. Dimensional modeling, as advocated by Ralph Kimball, remains superior for analytical performance.

magnitudedev/magnitude

github.com · 30 Sept

Large Language Models · Performance · AI Agents

Magnitude is an open-source inference engine for running open models locally with AI agents.

It compiles and tunes kernels for each device, delivering up to 2x llama.cpp performance, lower memory use, and efficient concurrent sessions. It supports Apple Silicon, NVIDIA, AMD, and CPU systems across macOS, Windows, and Linux, with private, OpenAI-compatible integrations.

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