Best of Performance — 2025

  1. 1
    Article
    Avatar of communityCommunity Picks·52w

    Why Companies Are Saying Goodbye to Next.js 🚪💨

    Developers and companies are increasingly moving away from Next.js due to issues like performance bottlenecks, overengineering, and vendor lock-in with Vercel. While Next.js offers benefits such as fast performance and SEO-friendly architecture, its complexities and limitations have made alternatives like Astro, Remix, and Qwik more appealing. For simpler, faster solutions, some developers are resorting to using React with Vite instead.

  2. 2
    Article
    Avatar of devblogsDevBlogs·1y

    A 10x Faster TypeScript

    TypeScript is undergoing a major performance improvement by porting its compiler and tools to a native implementation. This effort aims to improve editor startup, reduce build times by 10x, and decrease memory usage. Initial previews will be available by mid-2025, with a full feature release by the end of the year. The native port promises significant speed gains in editor responsiveness, command-line builds, and will support more advanced development features.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    Why Your Code is Slow: Common Performance Mistakes Beginners Make

    Slow code is a common issue for beginners. This guide explores seven frequent performance pitfalls and offers solutions to enhance code efficiency. Key topics include logging, loop optimization, database query handling, understanding hardware, memory management, array traversal, and avoiding unnecessary data copies. Practical examples and tips help developers write faster, more efficient code, and understand the importance of profiling and choosing appropriate data structures.

  4. 4
    Article
    Avatar of syncfusionSyncfusion·1y

    Mastering JavaScript Memory Leaks: Detect, Fix, and Prevent

    JavaScript memory leaks happen when allocated memory is not released, leading to performance degradation and potential crashes. This guide explains how to identify, fix, and prevent memory leaks using tools like Chrome DevTools, effective memory management strategies, and best practices such as proper scoping of variables, removing event listeners, and using WeakMap for caching.

  5. 5
    Article
    Avatar of communityCommunity Picks·1y

    TanStack Pacer

    TanStack Pacer offers utilities for rate limiting, throttling, and debouncing, enabling developers to effectively manage application timing. It supports intelligent queuing and concurrency controls while providing pause, resume, and cancel options for complex asynchronous workflows. The API is modular and framework-independent, ensuring ease of use.

  6. 6
    Article
    Avatar of tsTypescript·19w

    Progress on TypeScript 7

    The TypeScript team provides a major update on TypeScript 7.0 (Project Corsa), their native code rewrite of the compiler and language service. The native preview is now stable and production-ready, featuring 10x faster builds through parallelism, complete editor support including auto-imports and refactoring, and high type-checking compatibility with existing versions. TypeScript 6.0 will be the final JavaScript-based release, serving as a bridge to 7.0 with deprecations like removing ES5 support and enabling strict mode by default. The native preview is available today via VS Code extension and npm package, though some features like full emit pipeline and watch mode need refinement.

  7. 7
    Article
    Avatar of dev_worldDev World·45w

    Garuda Linux: The Ultimate Developer-Friendly Linux Distro?

    Garuda Linux is an Arch-based distribution designed for developers who want cutting-edge software without manual setup complexity. It features performance optimizations like Zen kernel and ZRAM, comes preloaded with development tools including VS Code and Docker, supports multiple desktop environments, and includes BTRFS snapshots for system stability. While offering the latest packages through rolling releases, it maintains user-friendliness compared to vanilla Arch Linux, making it suitable for developers seeking both performance and convenience.

  8. 8
    Article
    Avatar of jobsJobs·33w

    🚨How one tiny SQL query nearly killed our production system 🚨

    A production outage caused by a seemingly innocent `SELECT *` query demonstrates how database queries that work fine in development can fail catastrophically at scale. The query pulled 720MB of data from 60,000+ records, causing memory pressure, network bottlenecks, and connection timeouts. The post provides practical solutions including selecting specific columns, implementing pagination, caching hot data, using EXPLAIN plans, monitoring slow queries, and testing with production-scale data.

  9. 9
    Article
    Avatar of nextNext.js·39w

    Next.js 15.4

    Next.js 15.4 brings Turbopack builds to 100% integration test compatibility, making it ready for production use and powering vercel.com. The release includes stability and performance improvements while previewing Next.js 16 features like unified cache components, optimized client-side routing, enhanced DevTools, stable Node.js middleware, and deployment adapters. Developers can experiment with upcoming features using the canary channel and experimental flags.

  10. 10
    Article
    Avatar of hnHacker News·1y

    We Replaced Our React Frontend with Go and WebAssembly

    Dagger Cloud v3 features a new UI built with Go and WebAssembly, replacing the previous React-based frontend. The decision aimed to unify the codebases of the terminal UI and web UI, enhancing performance and reducing duplication. Despite challenges like the Go + WebAssembly combination's maturity and memory limitations, the team achieved a smoother, more consistent user experience. Key optimizations included reducing memory usage and ensuring better performance for large data sets. This approach is particularly beneficial for teams with a strong Go background and complex UIs.

  11. 11
    Article
    Avatar of medium_jsMedium·1y

    Is Golang the new Python Killer for AI?

    Golang, known for its simplicity and efficiency, is emerging as a strong contender for machine learning despite Python's current dominance. Key features of Go include high performance, concurrency, static typing, and scalability. While its ecosystem of ML libraries is still growing, Go is particularly advantageous for high-throughput prediction serving, large-scale data preprocessing, and resource-constrained environments. Notable Go ML libraries include Gorgonia, GoLearn, GoMind, GoCV, and Gonum. Go offers compelling advantages for specific use cases, making it worth considering for future ML projects.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·24w

    How to Improve Your Programming Skills by Building Games

    Building games teaches essential programming skills that extend beyond game development. Through creating games, developers learn systems thinking, event-driven architecture, performance optimization, and debugging complex states. Games force practical application of math concepts like vectors and trigonometry, while teaching component-based architecture similar to modern frameworks. The hands-on experience with user input handling, reusable code patterns, and creative problem-solving translates directly to building better web applications, backend services, and software systems. Even simple 2D games provide valuable lessons in modular design, UX instincts, and managing code complexity that traditional tutorials rarely offer.

  13. 13
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Optimize Next.js Web Apps for Better Performance

    Learn key techniques to optimize the performance of Next.js web applications, including using the Next.js Image and Script components, removing unused dependencies, caching, Incremental Static Regeneration (ISR), font optimization, lazy loading, and code splitting. These strategies enhance user experience by improving speed, reducing load times, and ensuring efficient resource use.

  14. 14
    Article
    Avatar of react_nativeReact Native·27w

    A New Era · React Native

    React Native 0.82 marks a major milestone by exclusively running on the New Architecture, removing support for the Legacy Architecture. The release introduces experimental Hermes V1 with performance improvements (up to 9% faster bundle loading), upgrades to React 19.1.1 with full owner stacks support, and implements DOM Node APIs for web-like tree traversal. Additional features include Web Performance APIs in canary, an optimized debug build type for Android that runs at 60 FPS versus 20 FPS in standard debug mode, and improved error reporting for uncaught promise rejections.

  15. 15
    Article
    Avatar of vladmihalceaVlad Mihalcea·20w

    Just Use Postgres!

    A comprehensive review of Denis Magda's book covering PostgreSQL's capabilities beyond traditional relational features. The 402-page guide explores core database concepts like indexing (B+Tree, hash, partial), transactions, and modern SQL features (CTEs, window functions), then dives into non-relational capabilities including JSON storage and full-text search. The book examines PostgreSQL's extension ecosystem: pgvector for ML/GenAI embeddings, TimescaleDB for time series data, PostGIS for geospatial queries, and pgmq for message queues. Includes performance tuning guidance and discusses when PostgreSQL might not be the right choice.

  16. 16
    Video
    Avatar of letsgetrustyLet's Get Rusty·24w

    Rust intern saved TikTok $300K

    A TikTok intern rewrote CPU-intensive payment service endpoints from Go to Rust, reducing average latency by 30%, P99 latency by 76%, and cutting compute costs by 50%—saving $300K annually. The migration used a gradual rollout strategy with separate Rust clusters under the same service name, avoiding upstream code changes. Key challenges included adapting Go's zero values to Rust's Option enum and optimizing memory allocations. The main lesson: Rust delivers performance gains at the cost of developer productivity, making it ideal for high-usage, stable components where economies of scale justify the rewrite effort.

  17. 17
    Article
    Avatar of daily_updatesdaily.dev Changelog·38w

    We improved readability on daily.dev

    Daily.dev implemented several typography and readability improvements including better font sizing, improved heading hierarchy, balanced line heights, wider reading areas, and faster font loading with smoother fallback handling. These incremental changes aim to create a more comfortable reading experience and reduce eye fatigue for users consuming content on the platform.

  18. 18
    Article
    Avatar of communityCommunity Picks·1y

    7 Crucial PostgreSQL Best Practices

    PostgreSQL is a powerful relational database management system. To ensure optimal performance, security, and maintainability, follow best practices such as consistent naming conventions, appropriate schema design, efficient indexing and querying, proper access control, comprehensive backup strategies, routine maintenance and monitoring, effective database version control, and high availability configurations. Regularly review and update these practices, document deviations, and stay informed about PostgreSQL updates to build a robust database infrastructure.

  19. 19
    Article
    Avatar of systemdesigncodexSystem Design Codex·38w

    API Performance Improvement Tips

    Five proven strategies to boost API performance: caching to avoid repeated database queries, load balancing to distribute traffic across multiple servers, asynchronous processing for long-running tasks, pagination to limit response sizes, and connection pooling to reuse database connections efficiently. Each technique addresses specific bottlenecks and includes implementation guidance and real-world considerations.

  20. 20
    Video
    Avatar of wdsWeb Dev Simplified·1y

    Make Your React Site 100% Faster With This Amazing FREE Tool

    React Scan is a new library designed to help developers identify and resolve performance issues in their React applications. It provides a visual representation of component rendering, which makes it easy to spot and understand render issues. The tool can be easily added to any project by pasting a script tag, and it offers detailed insights into render counts and history. Additionally, React Scan includes useful features like FPS drop notifications and an upcoming browser extension, enhancing its utility for performance debugging.

  21. 21
    Article
    Avatar of nextNext.js·17w

    Next.js 16.1

    Next.js 16.1 brings Turbopack file system caching to development mode by default, delivering up to 14× faster compile times when restarting the dev server. The release includes an experimental bundle analyzer for optimizing production bundles, simplified debugging with `next dev --inspect`, and improved handling of transitive external dependencies. Additional improvements include 20MB smaller installs, a new `next upgrade` command, and better async import bundling in Turbopack.

  22. 22
    Article
    Avatar of logrocketLogRocket·19w

    Stop using JavaScript to solve CSS problems

    Modern CSS features like content-visibility, container queries, and scroll-driven animations now handle tasks developers traditionally solved with JavaScript. Content-visibility provides native virtualization without libraries like react-window, container queries enable responsive design based on parent containers rather than viewport width, and scroll-driven animations run on the compositor thread for better performance. While JavaScript remains necessary for truly infinite lists, precise measurements, and dynamic layouts, most common use cases benefit from CSS-first solutions with simpler code and better performance.

  23. 23
    Article
    Avatar of tigerabrodiTiger's Place·1y

    Making Next.js Apps Faster: A Practical Performance Guide Beyond Next.js

    This post provides a comprehensive guide on optimizing the performance of Next.js applications. It covers the fundamentals of web performance, such as understanding client and server bundles, JavaScript execution in the browser, and techniques for identifying performance issues using tools like PageSpeed Insights and Chrome DevTools. The post offers practical strategies to make your app faster, including the use of server components, code splitting, dynamic imports, handling large dependencies, and prefetching/preloading techniques. The aim is to equip developers with the knowledge to significantly improve both perceived and actual performance of their Next.js apps.

  24. 24
    Article
    Avatar of uiwf7xowejrt4dhwsv7xiPaul Vasile·31w

    RAM is for the entire computer not just for your shitty app

    A critique of developers who justify excessive RAM usage in applications by claiming "RAM is meant to be used" or "RAM is cheap." The author argues that RAM is a shared system resource, not exclusively for individual applications, and calls for common-sense optimization rather than resource-heavy solutions. The piece criticizes the trend of unoptimized code and poor user experience driven by cost-cutting development practices.

  25. 25
    Article
    Avatar of nextNext.js·34w

    Next.js 15.5

    Next.js 15.5 introduces Turbopack builds in beta with significant performance improvements (2-5x faster builds), stable Node.js middleware runtime support, enhanced TypeScript features including typed routes and automatic route props helpers, deprecation of the next lint command in favor of direct ESLint usage, and deprecation warnings for features being removed in Next.js 16 including AMP support and legacyBehavior for links.