Best of Performance — February 2024
- 1
- 2
- 3
Community Picks·2y
Optimizing our post page performance
daily.dev optimized post page performance by addressing issues with excessive DOM size and JavaScript execution on pages with heavy user interactions and comments. They utilized Chrome's content-visibility property and lazy rendering comments with the IntersectionObserver API to improve page responsiveness and reduce main thread work, resulting in enhanced user experience and SEO.
- 4
Community Picks·2y
How to Optimize Slow SQL Queries
Learn how to identify and optimize slow SQL queries, including methods such as using parameterized queries, configuring the database for optimal performance, and properly indexing columns. Continuous feedback tools and monitoring can help in finding and optimizing these queries.
- 5
Towards Dev·2y
3 Essential SQL Tricks You Absolutely Need to Know
Learn three essential SQL tricks that can improve efficiency and analytical capabilities. Topics include using Common Table Expressions (CTEs), creating Partial Indexes for faster searches, and implementing Conditional Aggregation in SQL queries.
- 6
Community Picks·2y
Tailwind vs. Semantic CSS
This post compares the differences between Tailwind and Semantic CSS in terms of coding, rendering speed, separation of concerns, and more. It highlights that Semantic CSS is significantly smaller in size, faster in rendering, and allows for loose coupling and reusability.
- 7
Community Picks·2y
Go 1.22 is bringing about a new future for the language.
Go 1.22 introduces significant improvements in looping, CPU and memory performance, and changes to the standard library. The release brings scoped loop variables, ranging over integers and function iterators, improved CPU performance, reduced memory overhead, profile guided optimization, V2 package in the standard library, enhanced routing features in the net/HTTP package. It reduces the dependency on third-party libraries for complex HTTP routing.
- 8
Community Picks·2y
Power of Redis: A Deep Dive into Caching Systems
Explore the power of Redis and its caching techniques, including in-memory storage, optimized data structures, and reduced I/O operations. Learn about the various types of caching, the diverse data structures supported by Redis, and the factors to consider when choosing a caching system.
- 9
Lobsters·2yOne Billion Rows Challenge in Golang
The post describes the One Billion Rows Challenge and how the author solved it using Golang with a focus on optimizing performance and concurrency. The challenge involves processing a text file with a billion rows of temperature data and finding the minimum, average, and maximum temperature for each unique station.
- 10
freeCodeCamp·2y
React Optimization Techniques to Help You Write More Performant Code
Learn about various React optimization techniques including list visualization, lazy loading images, and memoization. Discover the importance of performance optimization in React applications and how it can improve user experience, SEO, and cost savings. Explore the use of React Fragments, Web Workers, and the useTransition hook. See how code splitting, throttling, and debouncing events can enhance performance.
- 11
- 12
- 13
freeCodeCamp·2y
Immutable JavaScript – How to Improve the Performance of Your JS Applications
Learn about the concept of immutability in JavaScript, its benefits in applications, techniques for achieving immutability, and how to use ES6 features like spread syntax and Object.freeze(). Explore real-world examples of companies benefiting from immutability and common pitfalls to watch out for. Discover best practices to overcome immutability-related issues.
- 14
- 15
ThePrimeTime·2yMojo Is FASTER Than Rust
Mojo is a fast and efficient tool for bioinformatics tasks, outperforming Rust in DNA sequencing parsing benchmarks. It offers a pythonic language that allows programmers to optimize at a low level, unifying the fragmentation in fields such as AI learning. Mojo's first-class support of simd vectorization provides substantial performance gains. While still growing, Mojo shows great potential as a powerful tool for python programmers wanting to write more performant code.
- 16
Awesome Go·2y
ProgpJS: a fast javascript engine for Go!
ProgpJS is a fast JavaScript engine written in Go, designed for server applications requiring high speed and stability. It is 2x faster than Node.js and on par with DenoJS and BunJS. This tutorial shows you how to start with ProgpJS, use compiled mode to build a fast HTTP server, and integrate Go code for caching. The benchmarks demonstrate ProgpJS's performance and the ability to mix Go and JavaScript code.
- 17
- 18
- 19
- 20
Collections·2yMillion 3.0: The Next Generation Optimizing Compiler for React
Million 3.0 is the latest version of Million.js, introducing new features like a smarter hydration system, Million Wrapped feature, internationalization support, and Million Lint. It offers better performance and stability for React components.
- 21
- 22
InfoQ·2y
The Creators of the Atom Code Editor Open-Sourced Zed, Their New Rust-Based High-Performance Editor
Zed is a high-performance code editor open-sourced by the creators of Atom. It uses a Rust code base, supports AI-assisted code generation, and enables collaboration among software teams. The editor is currently only available for Mac.
- 23
Theo - t3․gg·2yI'm Gonna Try Zed Now (RIP VSCode)
Zed, a Rust-based text editor, faced challenges with performance and scrolling on certain machines. The team worked closely with a user to debug issues and optimize the editor. They found solutions related to Metal rendering, instance buffers, frame delivery, and display refresh rate, resulting in significant improvements in smoothness and responsiveness. The team's dedication and effort in addressing these issues demonstrate the level of depth and difficulty in creating high-quality software.
- 24
- 25