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

Arm's Cortex X925: Reaching Desktop Performance

chipsandcheese.com · 3 Mar

Hardware · Performance · Computer Science

Arm's Cortex X925 marks a strategic shift toward desktop-class performance, achieving parity with AMD’s Zen 5 and Intel’s Lion Cove.

Featuring a massive 10-wide out-of-order engine, advanced branch prediction, and high IPC, it overcomes lower clock speeds. While excelling in integer workloads, it faces instruction-count challenges in floating-point benchmarks compared to x86-64 peers.

We rewrote our Rust WASM Parser in TypeScript – and it got 3x Faster

openui.com · 20 Mar

Performance · Rust · TypeScript

The developers transitioned from a Rust WASM parser to TypeScript after realizing the WASM-JS boundary overhead significantly outweighed Rust's execution advantages.

Replacing WASM with Typescript removed binding costs, while implementing statement-level incremental caching replaced an inefficient O(N²) streaming pipeline with an O(N) approach, resulting in significant performance gains for their LLM-based component tree parser.

Optimizing Rustc's next trait solver

donsz.nl · 25 Nov

Performance · Programming Languages · Rust

Rust’s next trait solver is planned to land in Rust 1.102.0 after performance work addressed a major stabilization blocker.

Trait solving proves relationships between types and traits using impl blocks, compiler-built-ins, and where bounds, but recursive, potentially exponential queries make it costly. Optimizations include extensive caching, canonicalization, selective cache bypasses, and removing opaque types from cache keys. For wg-grammar, these changes raised cache hits from 73% to 79%, halved compilation time from 28 to 14 seconds, and cut CPU cycles from nearly 200 billion to about 7 billion.

Shifter Quantization (SQ) — New Quantization Format for 2x-4x PP for Most GPUs

arxiv.org · 28 Nov

Artificial Intelligence · Large Language Models · Machine Learning · Performance · Computer Science

Shifter Quantization (SQ) reconstructs native-width integer operands by appending and shifting shared bits, allowing groupwise-quantized weights to span full dot products in efficient GPU inference.

Its INT4 variant, Shifter Integer (SHI), improves quality and speed over standard groupwise methods. SQ2 and SHI2 deliver 2.71–3.77× llama.cpp 4,096-token prefill throughput and reduce WikiText-2 KL by 6.6–7.8%; SQ4 is 1.43–2.47× faster than NInfer baselines with 24–40% lower KL, while SQ8 improves vLLM FP8 throughput by 27.4% and lowers KL by 72.7%.

Looking forward to Git 2.56 – and 3.0

lwn.net · 21 Sept

Git · Performance · Open Source

Git 2.56 brings usability, history-editing, reference-management, bug-fix, and performance improvements without major disruption.

The anticipated Git 3.0 may introduce compatibility breaks: SHA-256 as the default hash, lowercase-only object IDs, reftable references, and mandatory Rust tooling. These changes improve security and scalability but require ecosystem readiness, particularly from hosting platforms and repository-integrating software.

Super Monkey Ball ported to a website

monkeyball-online.pages.dev · 28 Jan

Hardware · Performance · Testing

This content provides an overview of a web-based or emulator-style implementation of the classic title Super Monkey Ball 1.

The summary highlights the inclusion of standard gameplay modes, specifically Beginner, Advanced, and Expert levels, ensuring a faithful recreation of the original challenge. It details the control schemes, noting that players can use WASD or Arrow Keys to tilt the stage, alongside functional shortcuts like R for resetting and N for skipping stages. Furthermore, the implementation supports external controllers for an enhanced experience. The developer acknowledges existing bugs, signaling an ongoing commitment to refinement and performance stability without requiring further user reporting.

I Just Want Simple S3

blog.feld.me · 10 Apr

Cloud Computing · Linux · Performance

Users seeking a simple, performant, local S3-compatible storage solution are moving away from Minio, Garage, and SeaweedFS due to complexity or performance issues.

Versity GW emerges as a compelling alternative, offering a robust S3 gateway that interfaces with POSIX file systems, delivering high-speed, reliable performance suitable for small-scale local storage needs.

The State of Allocators in 2026 - Finally Stabilised

cetra3.github.io · 27 Nov

Low-Level Programming · Performance · Rust

Rust 1.100 stabilized the MVP of the allocator API, enabling locally selectable memory strategies.

A bump allocator can make burst allocations cheap and free them all at once; accounting wrappers can track usage and trigger thresholds, as in the thresher crate; and specialized allocators can place data on the stack, enforce alignment for O_DIRECT, or otherwise control memory location. Generic collections such as Vec can use these strategies, though broader ecosystem support remains limited.

This Month in Ladybird – August 2026

ladybird.org · 4 Sept

CSS · JavaScript · Performance

Ladybird’s August progress added Twitch playback, broader YouTube formats, CSS scroll snap, JavaScript debugging, resumable downloads, and session restore.

Major engine work improved performance through a new style engine, layout caching, compositor-thread animations, Rust-based CSS and painting, Wasm isolation, and JavaScript value caging. Compatibility, security, Web Platform Tests, and platform support also advanced toward the 2026 alpha.

Steel Bank Common Lisp version 2.6.7

sbcl.org · 28 Jul

Performance · Programming Languages · Open Source

SBCL 2.6.7 adds SB-MANUAL for interactive manual exploration, supports ARM64/AVX512 instructions, and includes numerous performance optimizations and bug fixes.

Specifically, it improves SIMD efficiency, corrects integer length calculations on MIPS/LoongArch, and fixes compiler type errors. Documentation now conforms to Markdown, and minor incompatible changes improve FDEFINITION and string copying behavior.

Lies I was told about collaborative editing, Part 2: Why we don't use Yjs

moment.dev · 13 Mar

Distributed Systems · Performance · Software Architecture

The author argues that Yjs and CRDTs are often unnecessary and overly complex for most collaborative editors.

Instead, they propose a simpler, high-performance approach based on a centralized authority model using ProseMirror, which avoids the latency, performance, and schema-validation issues typical of complex P2P algorithms while meeting modern UX requirements like offline support.

3x speedup of DFlash2 for Inkling2m on llama.cpp (50 -> 150 on code tps)

github.com · 25 Nov

Artificial Intelligence · C · C++ · Large Language Models · Performance

A llama.cpp patch increases Inkling2m DFlash2 code speed from 51 to 158 tok/s by fixing drafter target activations and vocabulary handling.

It adds target visit metadata, supports selector soft-cap ordering, applies Inkling’s target RMS normalization when borrowing embeddings, and handles GGUF compatibility defaults. These changes raise acceptance from about 5 of 5,615 proposals and improve prose speed from 51.2 to 85.7 tok/s.

The most expensive instruction might be… cmov

questdb.com · 15 Jul

Algorithms · Low-Level Programming · Performance

This analysis investigates how HotSpot’s C2 compiler decides between using branches and conditional move (cmov) instructions.

By benchmarking patterns on x86, it reveals that the compiler relies on branch bias rather than hardware predictability. Consequently, the compiler's heuristic often makes suboptimal choices, causing significant performance regressions when data dependencies exist within loops.

Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

github.com · 6 Mar

C# · Distributed Systems · Performance

Moongate v2 is a modern Ultima Online server project built with .

NET 10, prioritizing a clean, modular architecture and NativeAOT compatibility. It features deterministic game-loops, Lua scripting, and a sector-based world streaming strategy. The project emphasizes performance benchmarks, specialized packet tooling, and thread-safe networking to provide a maintainable foundation for high-concurrency shards.

TreeWalker: Avoiding redundant work across rows and trees

shopify.engineering · 2 Dec

Artificial Intelligence · Algorithms · Machine Learning · Performance · Rust

Shopify built TreeWalker, a Rust inference engine that accelerates delivery-date predictions from tree ensembles by sharing decisions across related rows and repeated predicates.

It groups forecast horizons, represents active rows with bit masks, reuses prepared feature tests, and skips empty branches while preserving each row’s result and model behavior. TreeWalker scored Shopify’s delivery model 3.96× faster than its existing evaluator, with larger groups reaching 7.7–9.1× speedups on public survival datasets.

Building PlanetScale with Insights Agent

planetscale.com · 19 Nov

Backend · Database · MySQL · Performance · AI Agents

PlanetScale used its own Rails API to test and improve Insights Agent, which detects inefficient queries or schema, traces code, and opens fixing pull requests.

It cut feature-flag database calls from 28.7 million to 8.3 million daily, reducing database time by 71%. An initially harmful index exposed missing context about empty results and expanded IN lists; filtering in Ruby cut database time 14x. Another composite index reduced query latency from seconds to milliseconds. Insights Agent now evaluates rows, SQL size, and when no change is best.

Fornax's Guide To Ridiculously Fast Ethernet

docs.pixeldrain.com · 18 Nov

Backend · Linux · Performance

Fornax reports that Pixeldrain reached near-100 GbE throughput after a year of Linux and hardware tuning.

Key recommendations include BBR with fq, Linux 6.5+ with tcp_shrink_window, large TCP memory limits, ConnectX-5/6 NICs, maximum ring buffers, tuned interrupt coalescing, careful CPU/NUMA placement, and disabling IOMMU unless passthrough is required. Pixeldrain uses Go’s HTTP server and HTTP/2 rather than a reverse proxy or HTTP/3, while newer kernels can improve networking performance further.

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