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

Grace Blackwell needs a new scheduler: 27% more usable GPUs from the same racks

skypilot.ai · 29 Oct

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

Grace Blackwell NVL72 clusters need a topology-aware scheduler: keeping jobs within racks can provide 27% more usable GPUs from the same racks than filling them completely.

NVL72 connects 72 GPUs through a non-blocking fabric delivering 1.8 TB/s per GPU and 130 TB/s aggregate bandwidth, accelerating TP and EP; moving TP to InfiniBand can cut throughput 43%, while unoptimized EP can consume 60% of training time. SkyPilot Platform preserves rack locality, recovers from failures, and defragments shared clusters.

Principles for Fast Tokio Applications

dial9-rs.github.io · 13 Sept

Observability · Performance · Operating Systems

The guide presents Tokio performance practices: measure real user-facing metrics before optimizing; use frequent yields for fairness and latency, but batch work for throughput; avoid contended mutexes and global queues; limit concurrency; isolate workers and workloads across CPU cores or runtimes.

Long polls and executor blocking can be acceptable when validated under realistic load.

We scaled PgBouncer to 4x throughput

clickhouse.com · 11 Jul

Performance · PostgreSQL · Software Architecture

PgBouncer is single-threaded, limiting throughput on multi-core systems.

By running a fleet of processes using so_reuseport and implementing process peering for query cancellation, developers can utilize all available CPU cores. This architecture significantly improves performance and scalability, ensuring connection pooling does not become a bottleneck for Managed Postgres databases.

Can you slim macOS down?

eclecticlight.co · 21 Jan

macOS · Performance · Operating Systems

This article explores the high volume of background processes in modern macOS, investigating whether users can disable unnecessary ones like Time Machine's backupd.

Due to the Signed System Volume (SSV) and complex scheduling by the Duet Activity Scheduler (DAS), most system processes are protected and functionally automated even when features are disabled. Ultimately, the architectural design of modern macOS prevents users from significantly paring down system processes.

Turbo Haskell

comonad.com · 30 Sept

Performance · Programming Languages · Open Source

THC is a new Turbo Haskell compiler that uses Truffle and GraalVM to JIT GHC Core on the JVM while retaining GHC’s parsing, typechecking, and optimization.

It also supports AOT executables via Native Image, Cabal/Backpack packages, polyglot FFI, concurrency, SIMD, resumable asynchronous exceptions, and optimized tail calls. Early benchmarks range from 3× faster to 3× slower than GHC.

Surelock: Deadlock-Free Mutexes for Rust

notes.brooklynzelenka.com · 7 Apr

Performance · Programming Languages · Rust

Surelock is a new Rust library designed to prevent deadlocks at compile time.

By utilizing a linear type-based key system and enforcing strict lock ordering rules, it eliminates circular wait conditions. It supports both standard and no_std environments, providing an ergonomic, safe alternative to traditional mutexes without requiring complex runtime analysis.

Personal thoughts/notes from working on Zootopia 2

blog.yiningkarlli.com · 17 Dec

Performance · Computer Science

Zootopia 2, the 64th animated feature from Disney Animation, marks a significant technological leap in filmmaking since the original 2016 film.

The production utilized the Hyperion renderer to manage immense scale and detail, including a breakthrough 'brute-force' approach to rendering snow via millions of individual ice crystals. Engineers maintained the industry-standard Chiang hair shading model while optimizing ray-curve intersection for better performance. Key advancements include a customized nested dielectrics solution for complex water sequences and the wide-scale deployment of a next-generation path guiding system developed with Disney Research Studios. The film also transitioned to Presto for animation and implemented sophisticated crowd optimization strategies to handle thousands of unique, fur-covered characters simultaneously, showcasing the studio's evolving mastery of CG production.

Worshipping at the Altar of Brendan Gregg

fzakaria.com · 24 Nov

CLI · Observability · Performance

Rewind adds the `rewind time` command, which analyzes deterministic VM recordings to identify a run’s critical path, sleeping versus computing time, processes responsible, and changes that could shorten execution.

In a libuv build and test run, 78 seconds elapsed on one virtual CPU, while the critical path was 47.4 seconds and 67% asleep, largely in `epoll_pwait` and `clock_nanosleep`. Users can drill into source lines, replay moments with gdb, and export flame graph or Perfetto data.

ornith-ai/Ornith-1.5-122B (Qwen finetune)

huggingface.co · 20 Oct

Artificial Intelligence · Large Language Models · Performance

Ornith-1.5-122B is an open-weight, MIT-licensed 122B MOE reasoning model optimized for single-80GB-GPU deployment, with a quantized mobile variant.

It reports strong results across coding, reasoning, and agentic benchmarks, including 84.5 on SWE-bench Verified, 48.0 on HLE with tools, and 79.4 on ClawEval. It supports OpenAI-compatible serving through vLLM or SGLang, tool calls, separate reasoning output, 262,144-token contexts, and YaRN extension to roughly one million tokens.

Visualizing Rust's Vtables: How dyn Trait Works In Memory

sofiabelen.github.io · 4 Sept

Low-Level Programming · Performance · Programming Languages

Rust’s polymorphism differs fundamentally from C++: monomorphization provides zero-cost static dispatch, while dyn Trait uses wide pointers pairing data with external vtables for runtime dispatch and heterogeneous collections.

Rust’s ownership enables zero-sized types, and object-safety rules restrict trait objects. Dispatch is chosen at the call site, not embedded in the type.

Restartable Sequences

justine.lol · 31 May

C · Linux · Performance

Restartable sequences (rseq) are a high-performance Linux feature that enables thread-safe, lock-free, and atomic-free data structures by allowing the kernel to manage critical sections via shared memory.

By leveraging rseq and CPU-local sharding, developers can achieve significant performance gains on multi-core systems, effectively eliminating contention in high-throughput applications like custom memory allocators.

Faster than earcut: triangulating 3.7M map polygons in 489 ms

globus.software · 16 Oct

Algorithms · C++ · Performance

GLMap published earstrip, an ISC-licensed C++ header and WebAssembly/npm polygon triangulator compatible with earcut’s arguments.

Replacing constrained Delaunay with optimized ear clipping—using reflex-vertex lists, convex shortcuts, triangle strips, spatial buckets, branchless tests, and marked-hit filtering—triangulates 3.74 million map polygons in 489 ms on one M4 Pro core, versus 2.93 seconds. It is 14% faster than earcut.hpp natively and 1.4–2.1 times faster than earcut.js in browser use, with Delaunay fallbacks for difficult geometries and many holes.

Serving GLM-5.3 at 607.8 tok/s across two Nvidia DGX stations with vLLM

developer.nvidia.com · 13 Nov

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

Two NVIDIA DGX Stations connected over ConnectX-8 RDMA serve NVIDIA’s quantized GLM-5.3 NVFP4 locally through one vLLM endpoint.

Its 753-billion-parameter MoE model activates 40 billion parameters per token, but roughly 464 GB of weights require both GB300 GPUs; tensor parallelism (TP=2) splits weights and computation across them. Station A hosts the OpenAI-compatible API, while both ranks use GPU RDMA. With four MTP draft tokens, FP8 KV-cache storage, and prefix caching, throughput peaks at 607.8 tok/s at concurrency 16, falling to 385.0 tok/s at 32.

lz4/lz4

github.com · 6 Nov

C · Performance

LZ4 is an open-source lossless compression library and command-line tool designed for very high throughput.

Its default compressor reaches 770 MB/s and its decoder 4,950 MB/s in the reference benchmark, while LZ4_HC improves compression ratio at lower compression speed without reducing decompression speed. It supports dynamically tuned acceleration, dictionary compression using the final 64 KB of input, block and streaming frame formats, and APIs for standard and high-compression modes. The library uses BSD 2-Clause, while the CLI uses GPL-2.0-or-later.

Getting 25 Gbps Thunderbolt Ethernet on My Mac Studio

jeffgeerling.com · 31 Jul

Hardware · macOS · Performance

Upgrading a Mac Studio to 25GbE requires expensive Thunderbolt adapters.

The author utilized a cost-effective, server-pulled OCP 2 NIC with a DIY cooling solution featuring a 3D-printed duct and a silent Noctua fan to prevent overheating. While performance reaches 20-25 Gbps, real-world Samba throughput improvements remain marginal due to Thunderbolt 3 limitations.

A tail-call interpreter in (nightly) Rust

mattkeeter.com · 5 Apr

Low-Level Programming · Performance · Rust

The author implemented a high-performance Uxn CPU emulator in nightly Rust using the new 'become' tail-call keyword.

This approach achieved significant performance improvements on ARM64 by enabling token threading without manual assembly. While the implementation surpassed assembly performance on ARM64, performance gaps remain on x86 and WebAssembly due to suboptimal compiler codegen and stack handling.

Making Tailscale Faster

tailscale.com · 22 Sept

Android · Linux · Performance

Tailscale is improving data-plane performance through lower-memory packet handling, shorter queues, `writev`, and planned multi-queue processing for subnet routers, app connectors, and exit nodes.

Netmap caching will accelerate startup during poor connectivity. Linux/Android gains arrive progressively, while Tailscale explores native monitoring and testing tools for diagnosing network paths and performance.

Zig: All Package Management Functionality Moved from Compiler to Build System

ziglang.org · 4 Jul

Performance · Programming Languages · Open Source

The Zig development log for early 2026 highlights a major overhaul of the build system, including separating the 'maker' process for improved performance and modularity.

Key updates include SPIR-V backend progress, new @bitCast semantics, faster incremental compilation, and a significant effort to replace vendored C code with Zig-native standard library implementations.

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