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

SiFive's First Server Platform

chipsandcheese.com · 25 Aug

Hardware · Performance · Operating Systems

SiFive’s BigSky SF-2U870 is a 2U RISC-V development server with 32 P870-D cores, DDR5, extensive PCIe 5.0, GPU support, and NVMe storage.

Although it does not outperform comparable x86 or Arm systems, its key advantage is RVA23 support, enabling Ubuntu 26.04 and reliable software development. SiFive is addressing RISC-V’s shortage of practical, ready-to-use development platforms.

Benchmarking 15 "E-Waste" GPUs with Modern Workloads

esologic.com · 13 Jul

Artificial Intelligence · Hardware · Performance

This project benchmarks decommissioned NVIDIA Tesla GPUs to evaluate their viability for affordable homelab GPU nodes.

Using affordable X99 hardware and custom cooling, the author demonstrates that these older cards can still perform well for AI inference, 3D rendering, and scientific computing. Testing shows linear scaling and confirms that legacy enterprise hardware remains a cost-effective solution for homelabbing.

Perceptual Image Codec: What Matters in Practical Learned Image Compression

apple.github.io · 24 May

Artificial Intelligence · Machine Learning · Performance

PICO is a practical, learned image codec optimized for human visual perception.

It outperforms traditional standards like AV1 and VVC by over 2x in bitrate efficiency and exceeds existing learned codecs. PICO offers high-speed encoding and decoding on mobile devices with cross-platform robustness, setting a new benchmark for practical, high-quality image compression.

Futhark by example

futhark-lang.org · 16 May

Performance · Programming Languages · Computer Science

Futhark by Example provides a comprehensive, hands-on introduction to the Futhark programming language.

Through a curated collection of documented programs, it covers fundamental language features, advanced parallel programming techniques, automatic differentiation, and integration with other tools, demonstrated via practical projects like ray tracers, simulators, and hash function implementations.

Optimizing Ruby Path Methods

byroot.github.io · 18 Apr

CI/CD · Performance · Ruby

The author shares their experience optimizing Ruby path methods and Bootsnap to improve CI performance at Intercom.

By analyzing and refactoring file system scanning and File.join implementations, the author achieved significant speedups, including the introduction of Dir.scan in Ruby 4.1 to avoid N+1 syscalls and optimizing File.join for faster path handling.

Show HN: Contrapunk – Real-time counterpoint harmony from guitar input

contrapunk.com · 5 Apr

Performance · Rust · Open Source

CONTRAPUNK is an open-source, Rust-based tool providing real-time MIDI harmony generation and guitar-to-MIDI conversion.

It utilizes strict music theory rules like voice leading to ensure high-quality, low-latency performance adaptable for both browsers and desktop environments via WebAssembly and Tauri. The software is free, MIT-licensed, and designed for live musical expression.

Memory layout in Zig with formulas

raymondtana.github.io · 23 Jan

Performance · Programming Languages · Software Architecture

This article explores the intricacies of memory layout in the Zig programming language, focusing on how the compiler calculates alignment and size for various data structures.

Inspired by Andrew Kelley's talk on Data-Oriented Design, the author provides formulas for primitive types, structs, enums, unions, and arrays. Key concepts include the use of @alignOf and @sizeOf built-in functions, the impact of the 'extern' keyword on memory packing, and the differences between Array of Structs (AoS) and Struct of Arrays (SoA) layouts using ArrayList and MultiArrayList. The guide serves as a practical resource for low-level programmers aiming to optimize memory footprints and performance by understanding how Zig manages data padding and power-of-two alignment rules.

AVX-512: First Impressions on Performance and Programmability

shihab-shahriar.github.io · 12 Jan

C++ · Hardware · Performance

This technical analysis explores the AVX-512 SIMD paradigm through the implementation of a K-Means clustering algorithm, comparing its performance and programmability against scalar code, auto-vectorization, and GPU-based SIMT models like CUDA.

The author observes that while auto-vectorization by compilers like GCC and Intel ICPX often fails to reach theoretical hardware limits due to complex conditionals, manual implementation using SIMD intrinsics achieved a 7-8.5x speedup over scalar versions. The study highlights that AVX-512 provides a high degree of hardware control, making it easier to reason about performance compared to the abstractions found in CUDA. Furthermore, the analysis suggests that the era of LLMs simplifies the use of explicit SIMD by allowing developers to offload the generation of verbose intrinsics to AI, provided the underlying software architecture is well-designed.

Zero heap allocation HTTP server using OxCaml

github.com · 6 Jan

Backend · Performance · Programming Languages

httpz is a high-performance HTTP/1.1 parser and serializer designed for the OxCaml ecosystem.

Its primary innovation lies in achieving zero heap allocations during the parsing process by utilizing OxCaml unboxed types and local allocations. By employing unboxed records and local lists, httpz ensures that parser results remain on the stack. The system supports direct bigstring I/O, chunked transfer encoding, and persistent connections. Performance benchmarks demonstrate significant advantages over Eio-based alternatives, showing up to a 14.6 million requests per second throughput and a reduction in allocations by several hundred times. The project also includes an Async-based static file server with built-in directory traversal protection. Plans for future updates include integrated io_uring support on Linux and enhanced parallelism for the file server.

Remove pgrust: the entry is cheating

github.com · 23 Oct

Database · Performance

The ClickBench `pgrust` entry should be removed because it is tuned specifically for the 43 benchmark queries and its hot runs replay cached answers, violating benchmark rules.

Its release binary embeds hand-written kernels and metadata shortcuts for individual queries, refuses many small query variations, and supports no general execution path for the columnar table. Although all 43 answers are correct, measured performance reflects a benchmark-specific lookup and cache rather than database execution.

10Gb/s Ethernet: switching to a Broadcom SFP+ module

gilesthomas.com · 16 Jun

Hardware · Performance

The author encountered overheating issues with a Marvell-based 10GBASE-T SFP+ module in their home network, causing connectivity drops.

Replacing it with a power-efficient, Broadcom-based 10Gtek module resolved the thermal instability, resulting in improved switch performance and better link reliability, despite challenges in monitoring the new module's temperature due to its reporting as a fiber-optic device.

you can now use MTP in GLM-Air

github.com · 23 Aug

Artificial Intelligence · Algorithms · Performance

GLM-4.5-Air now supports MTP through glm4moe graph_mtp, with converter and loader support for combined, trunk-only, and MTP-only GGUF layouts.

Tests show average speedups of 1.19x (Q4) and 1.10x (Q8) on 4x3090, while full GLM-4.5 gains 1.07x. MTP 1 is generally best; higher drafts can reduce performance, with no regressions observed on Solar Open or GLM-4.6V.

Pokemon Emerald Ported to WebAssembly (100k FPS)

pokeemerald.com · 6 Jun

Performance

pokeemerald-wasm allows users to play the classic Game Boy Advance game Pokémon Emerald directly in a web browser using WebAssembly.

The project maps traditional console controls to keyboard inputs, enabling seamless emulation and retro gaming accessibility without requiring external software installations.

Rows vs. Columns: How different are they, really?

spiraldb.com · 11 Nov

Database · Performance

Row stores and column stores are logically equivalent but physically optimized for different workloads.

Row stores such as Postgres and MySQL keep each record together, making single-record reads and writes efficient for OLTP. Column stores such as DuckDB and ClickHouse group values by field, reducing I/O for analytics: reading `duration_min` can require 4 MB instead of 48 MB for one million rides. Columnar layouts also enable vectorized execution, SIMD, and lightweight compression, but make individual record access and updates more expensive.

Enabling the next-generation trait solver on nightly

blog.rust-lang.org · 21 Aug

Performance · Programming Languages · Testing

Rust’s next-generation trait solver, developed for nearly four years, is enabled by default on nightly ahead of stabilization.

It replaces core compiler logic, fixes 200+ known issues, improves impl Trait and higher-ranked associated-type handling, and can substantially improve compile times, though breakage and diagnostic regressions remain. Developers should test nightly and report issues on GitHub.

Wine-Staging 11.1 Adds Patches for Enabling Recent Photoshop Versions on Linux

phoronix.com · 24 Jan

Linux · Performance · Open Source

Wine-Staging 11.1 has been released as an experimental version following the launch of Wine 11.1, introducing over 250 patches atop the upstream Git state.

The primary highlight of this release is the inclusion of new patches specifically designed to enable recent versions of Adobe Photoshop to install and run effectively on Linux. These improvements target MSXML3 and MSHTML components, addressing long-standing issues such as Bug 47015 involving Photoshop Creative Cloud 2019. Additionally, Wine-Staging 11.1 integrates the latest VKD3D Git code for enhanced performance. While these patches remain in the staging branch for community testing, they represent a significant step toward full upstream support for professional creative software on Linux environments.

Nissan's third generation e-POWER powertrain

nissan-global.com · 28 Sept

Hardware · Performance

Nissan’s third-generation e-POWER combines a purpose-built gasoline engine with a 5-in-1 electric unit integrating the motor, reducer, inverter, increaser, and generator.

Higher-current flat-wire coils, advanced cooling, optional SiC semiconductors, and improved rigidity enhance efficiency, acceleration, and quietness. HR14DDe and turbocharged ZR15DDTe engines use stable combustion, high EGR, and STARC technology.

Software occlusion culling in Block Game

enikofox.com · 27 Sept

Algorithms · Performance · Computer Science

The Block Game developer built a threaded CPU software occlusion culler for weak hardware, using a low-resolution depth buffer and hierarchical opaque subchunks.

World-space frustum culling, visible-face filtering, optimized transforms, distance-based processing, and mipmap-like levels reduced processing from 150–200 ms to about 4 ms. It typically culls 50–95% of chunks, though effectiveness declines in open areas.

AMD Based FreeBSD Desktop Reloaded

vermaden.wordpress.com · 6 Sept

Hardware · Performance · Operating Systems

An enthusiast builds a compact Silverstone SG13 FreeBSD desktop around an AMD Ryzen 7 4750GE, Radeon RX 7700 XT, and DDR4, achieving substantial CPU/GPU gains over the previous system.

The report details fitting hardware modifications, FreeBSD firmware fixes, XLibre/amdgpu setup, power measurements, and a 995 EUR cost, while highlighting a son’s AI-assisted PC-builder game.

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