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

AMD boosting AI/LLM performance for Radeon iGPUs as much as 18~23% with Linux 7.4

phoronix.com · 29 Sept

Hardware · Performance · Operating Systems

Linux 7.4’s AMD PerfOpt feature bypasses IOMMU overhead for AMD integrated graphics, delivering 18–23% higher AI/LLM inference performance in initial tests.

Enabled by default through AMDGPU, it was evaluated with Lemonade and Llama.cpp on Ryzen AI systems, particularly benefiting lower-end hardware. A stable release is expected near year-end and may become this year’s LTS kernel.

White Rabbit – sub-nanosecond synchronization for large distributed systems

ohwr.org · 23 May

Hardware · Performance · Open Source

White Rabbit is an Ethernet-based technology providing sub-nanosecond synchronization and picosecond precision for large distributed systems.

It supports deterministic data delivery across thousands of nodes over 10km. Being fully open-source, it facilitates multi-vendor hardware integration and is currently utilized at CERN for high-precision timing applications, with active recruitment for FPGA and hardware development roles.

Show HN: AI agents play SimCity through a REST API

hallucinatingsplines.com · 9 Feb

Distributed Systems · Performance · Computer Science

The simulation system is currently running, managing a population of over 8.4 million across 463 cities.

Key updates include high residential demand, decreased crime rates, and power plants coming online. Despite localized traffic issues and a downtown monster sighting, major city portals remain connected with forty-five mayors actively registered within the network.

I built an app in every frontend framework

dev.to · 5 Jan

Frontend · Performance · Programming Languages

This comprehensive analysis provides an unbiased comparison of the top frontend frameworks as of 2025, evaluating tools like React, Vue, Svelte, Angular, Lit, and Qwik based on developer experience and performance.

The author emphasizes that the 'best' framework depends on project requirements, such as React's market dominance versus Svelte's lightweight efficiency. To ensure objectivity, the same application was built across ten different stacks and benchmarked for bundle size and execution speed. Key takeaways highlight the trade-offs between virtual DOM overhead and fine-grained reactivity systems, as well as the suitability of specific tools like Astro for content-rich sites or Alpine for simple interactivity. The analysis serves as a practical guide for developers to navigate the evolving web ecosystem based on stability, ease of use, and scalability needs.

Inkling 2 Mini: 92.6 tok/s, 448k Live, 3.12M Warm on an RTX 3090 Ti

famelos.com · 2 Dec

Artificial Intelligence · Large Language Models · Machine Learning · Performance

Famelos’ December 2026 work reports Inkling 2 Mini reaching 92.6 tok/s on one 24 GB RTX 3090 Ti, with 448k all-GPU context, 786k offloaded context, a 3.12M-token warm pool, sub-100 ms hot-swap, and WHT-KV4 compression.

Other projects include Phonon S, a 31-million-parameter browser speech model; Jev safety evaluations and matchup judging; Gemini 3.8 Flash visual testing; and Feed Raider, a Bluesky-based shooter. Jev was reported safer than DeepSeek 4.1 Flash on these tests at 58% of its price.

Poisson Disk Sampling

stripeacross.com · 2 Sept

Algorithms · Performance · Computer Science

Bridson’s algorithm efficiently generates Poisson disk samples—random points separated by a minimum distance—using a grid and active list, avoiding costly rejection sampling.

Parental angle constraints and nonuniform radial sampling improve density and speed, while variable distances enable stippling. PixelPie enables GPU parallelism. Mitchell’s newer method provides maximal, uniform, deterministic 2D sets without rejection sampling, at greater complexity.

Does anyone run Postgres without PgBouncer?

brandur.org · 12 Aug

Backend · Database · Performance

After a decade, Postgres still struggles with many connections, making PgBouncer or equivalent poolers essential.

Nearly all major managed Postgres providers now bundle connection pooling, but inconsistent implementations, configurations, and caveats create unnecessary operational work. The ideal would be a standardized, built-in pooler exposed through one database URL and port, as in MySQL and MongoDB.

Rosalind: A genomics toolkit in Rust running whole-genome pipelines on a laptop

github.com · 21 May

Performance · Python · Rust

Rosalind is a deterministic genomics engine built in Rust, designed for edge computing and resource-constrained environments.

By using an O(√t) memory model, it performs whole-genome alignment and variant calling in under 100 MB of RAM. It offers bit-for-bit reproducibility and supports Python bindings and custom plugins, making it ideal for clinical diagnostics and field research.

Herbie: Automatically improve imprecise floating point formulas

herbie.uwplse.org · 31 Mar

Algorithms · Performance · Mathematics

Herbie is a tool designed to identify and fix inaccuracies in floating-point arithmetic.

By analyzing mathematical expressions, it provides more accurate and sometimes faster alternatives by handling issues like cancellation and overflow. It allows developers to optimize core algorithms by replacing inefficient code with improved, numerically stable versions derived through automated analysis.

The art of sending less: reducing mobile API payloads without breaking clients

engineering.grab.com · 5 Dec

Backend · Mobile · Performance · REST API · Software Architecture

Grab reduced mobile API payloads by normalising repeated menu entities into shared pools while reconstructing the legacy object model on Android and iOS.

The approach stores modifier groups and modifiers once, replaces duplicates with references, and retries in legacy format if validation or reconstruction fails. Across seven-day comparisons, average API Gateway response bytes fell about 20%; a matched Android estimate showed 38.1% lower gzip wire bytes. P95 reconstruction added 203.9 ms on Android and 2.6 ms on iOS, with a 0.00023% parsing-failure rate.

Show HN: Warpspec – TLA+ model checking on a GPU, 4,600× faster than TLC

praveenperera.com · 2 Dec

Algorithms · Performance · Rust · Software Architecture · Computer Science

warpspec is an open-source tool that compiles TLA+ specifications into fixed-size, bit-packed no_std Rust state machines for exhaustive model checking on NVIDIA GPUs or multicore CPUs.

It matches TLC’s state counts, depths, and verdicts while greatly reducing dynamic-value overhead: an RTX 5090 checks PaxosCommit’s 1.36 billion states in 3.65 seconds, 4,600× faster than TLC. It currently requires fixed-shaped models, fits all state data in RAM or VRAM, and supports GPU safety checking but not liveness.

Beyond CPU Utilization: Using PSI to Diagnose Kubernetes Resource Contention

kubernetes.io · 1 Dec

DevOps · Kubernetes · Linux · Observability · Performance

PSI reveals CPU waiting that CPU utilization hides, helping diagnose Kubernetes contention and throttling.

On a two-CPU worker, two busy loops used 2001m with 0.33% pressure; six loops used the same CPU but produced 99.63% pressure. A 500m CPU limit left node capacity idle yet caused 75.23% pressure and frequent throttling. Kubernetes v1.36 exposes PSI via kubelet Summary API and cAdvisor metrics; pod-level pressure should be compared with latency, queue depth, and throttling counters.

Bringing application context to full-host eBPF profiling

datadoghq.com · 1 Dec

Backend · Low-Level Programming · Observability · Performance · Software Architecture

OpenTelemetry standardized process and thread context protocols that let the OpenTelemetry eBPF Profiler connect full-host profiles to applications, requests, and traces.

Process context publishes resource attributes through a discoverable Linux memory mapping, while thread context exposes trace, span, and request attributes through a compact ELF thread-local record. The design handles fork(), multiple TLS access models, and runtime differences across Java, Python, Go, Ruby, .NET, and Node.js. Java benchmarks reduced context-update costs to 91.2 ns.

Granite Embedding Vision R2: Fast, Flexible Visual Document Search

huggingface.co · 30 Nov

Artificial Intelligence · Computer Vision · Machine Learning · Performance · RAG

Granite Embedding Vision R2 searches PDF page images directly, avoiding OCR and document-extraction pipelines.

Its 748M-parameter model produces both one 768-dimensional vector for fast retrieval and about 600 128-dimensional vectors for MaxSim search or reranking. On one NVIDIA H200, it encodes 35.3 pages per second—fastest among 20 tested retrievers—while averaging 0.721 nDCG across eight benchmarks. Multi-vector storage is about 149 KiB per page, and the model is Apache 2.0 licensed.

Training and Serving Multimodal LLMs in Production

canva.dev · 30 Nov

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

Canva built and deployed a 4B vision-language model that performs more than 30 content and quality checks on over 100,000 images daily.

LoRA/QLoRA fine-tuning focused learning on boolean decisions, while constrained JSON decoding preserved a probability for each check. A fixed-template speculative decoder reduced p50 latency from 3.5 seconds to 240 ms and p99 latency to 0.52 seconds. Running on Canva’s GPUs cut LLM costs by 85% and halved missed violations without increasing false positives.

Scaling metrics queries for AI workloads with Distributed DataFusion

datadoghq.com · 30 Nov

Backend · Big Data · Observability · Performance · Software Architecture

Datadog shipped Distributed DataFusion, a distributed query engine based on Apache DataFusion and Substrait, to scale high-cardinality metrics queries for AI workloads.

It splits physical plans across workers, streams Apache Arrow batches, eliminates an unnecessary network shuffle, and hashes string tags into u64 keys. In a local benchmark, these optimizations reduced latency from 420 ms on four cores to 42.2 ms on 16 cores. Adding machines improved latency most for longer query ranges.

Taking Trainium3 to the Track: Generating Videos with LTX-2.5

huggingface.co · 27 Nov

Artificial Intelligence · Generative AI · Hugging Face · Performance · Python

LTX-2.5 generated 10-second video-and-sound clips on an AWS Trainium3 trn3.48xlarge in 22–23 seconds at 2048×1024, matching and slightly beating LTX’s online API on half the machine.

Using diffusers, a JSON storyboard chains shots through shared frames, enabling consistent subjects and reproducible takes. Optimizations included tensor and sequence parallelism across 32 NeuronCores, faster host processing, and device-side decoding. The setup supports film drafts and exploratory robotics-world-model scenarios, but details, audio continuity, and shot length remain limitations.

Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon

huggingface.co · 26 Nov

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

The llama.cpp × AMD Benchmark dashboard is now available on Hugging Face, enabling comparison of prompt-processing and text-generation performance across llama.cpp builds, models, and quantizations on AMD Ryzen and Radeon hardware.

It currently covers Radeon 8060S (gfx1151) and Radeon AI Pro R9700S (gfx1201), with PP512 and TG128 tests, build-history and context-scaling views. Weekly public workflows run llama-bench with Flash Attention on and off and 10 repetitions; results are reusable from a public Storage Bucket.

Where it came fromHacker NewsHugging Face BlogRedditLobstersDatadog EngineeringDev.toCreate a Snapbyte.dev digest and choose Performance as one of your topics.Build your digest