#performance-optimization

[ follow ]
react
Joshwcomeau
2 days ago
JavaScript

Snappy UI Optimization with useDeferredValue

The useDeferredValue hook in React can significantly enhance the performance of applications, particularly on low-end devices. [ more ]
Medium
2 months ago
JavaScript

4 Ways To Manage State In React in 2024

Context API allows global data sharing in React without manual prop passing.
Context API is simple but lacks performance optimizations and data fetching capabilities. [ more ]
Sitepoint
2 months ago
Web development

Control Lazy Load, Infinite Scroll and Animations in React - SitePoint

React Intersection Observer assists in lazy loading, infinite scrolling, and animation triggers.
Lazy loading improves performance by deferring loads until elements are visible, benefiting page speed, data usage, and user experience. [ more ]
morereact
user-experience
InfoQ
3 weeks ago
JavaScript

Several Components are Rendering: Client Performance at Slack-Scale

Performance is about making the app go fast, reducing latency, and ensuring smooth interactions for a better user experience. [ more ]
Sitepoint
2 months ago
JavaScript

Essential React Native Performance Tips and Tricks - SitePoint

Developers need to prioritize performance optimization to enhance user experience in React Native applications.
Balancing animations between the JS thread and the main thread can prevent performance issues in React Native applications. [ more ]
Topenddevs
2 months ago
Web design

Unpacking Core Web Vitals - JSJ 620

Harry Roberts is a web performance consultant.
The conversation discusses the impact of Core Web Vitals on businesses. [ more ]
moreuser-experience
web-development
Speckyboy Design Magazine
1 month ago
Web design

20 Free Tailwind CSS Web Templates for Designers & Developers

Tailwind CSS provides a utility-first approach for quick web development with customizable designs.
Tailwind emphasizes speed, efficiency, responsiveness, and minimalistic coding for optimal performance. [ more ]
DEV Community
1 month ago
JavaScript

Power of Partial Prerendering with Bun

Partial prerendering combines static and dynamic content rendering, enhancing performance.
It involves rendering static components during build-time and deferring dynamic components to runtime. [ more ]
Csswizardry
5 months ago
Web development

Correctly Configure (Pre) Connections - CSS Wizardry

Preconnecting origins can help improve the performance of third-party or other-origin requests.
Misconfiguring preconnects can negate their benefits. [ more ]
moreweb-development
LogRocket Blog
1 week ago
JavaScript

6 CSS tools for more efficient and flexible CSS handling - LogRocket Blog

Managing large stylesheets can be challenging, but CSS tools offer efficiency and flexibility for better control and performance. [ more ]
Kentcdodds
4 days ago
JavaScript

When to useMemo and useCallback

Using React.useCallback may not always result in better performance as it can introduce additional work and memory overhead. [ more ]
CodeProject
3 days ago
JavaScript

Small function to replace characters with SQL Server

Utilize CTE in SQL Server functions to replace characters efficiently. [ more ]
CodeProject
1 week ago
JavaScript

Using a Read-through / Write-through Cache in Java Applications with NCache

Caching is crucial for optimizing Java web applications by improving response times, availability, and reducing server load. [ more ]
Lemire
2 weeks ago
JavaScript

Should Node.js be built with ClangCL under Windows?

ClangCL compiler can provide more performant code in release mode compared to the Visual Studio compiler, as seen in Chrome, Firefox, and some game developers. [ more ]
InfoQ
3 weeks ago
JavaScript

Allegro Reduces Kafka Producer Latency Outliers by 82% After Switching to XFS

Allegro improved Apache Kafka producer tail latency by experimenting with performance optimization options and switching to XFS filesystem. [ more ]
New Relic
1 week ago
DevOps

How the American Academy of Pediatrics monitor their estate using workloads

Observing workload blips is crucial for incident response and performance optimization. [ more ]
New Relic
1 month ago
DevOps

Agentless monitoring and standardized entity creation across Amazon EC2, Azure VM, and GCP CE

Monitoring cloud host instances like Amazon EC2, Azure VMs, and GCP CE is simplified with New Relic's unified entity creation, aiding in performance optimization and issue prevention. [ more ]
GSMArena.com
1 month ago
DevOps

Google unveils Axion, its first Arm-based CPU for data centers

Google announced its first Arm-based CPU, Axion, designed using Arm's Neoverse V2 CPU.
Axion offers 30% better performance than current Arm-based instances and 50% better than x86-based instances. [ more ]
TechCrunch
1 month ago
DevOps

Google announces Axion, its first custom Arm-based data center processor | TechCrunch

Google Cloud introduced its first custom Arm processor Axion, boasting better performance than competitors' instances.
Axion promises improved energy efficiency and performance compared to X86 instances, with technical documentation to be released later this year. [ more ]
InfoQ
1 month ago
DevOps

Relational Data at the Edge: How Cloudflare Operates Distributed PostgreSQL Clusters

Data storage at the edge reduces latency and improves performance.
Challenges of managing relational data at the edge include CAP constraints and replication lag. [ more ]
Amazic
1 month ago
DevOps

7 best practices for ensuring observability in microservices applications - Amazic

Observability is crucial for managing microservices effectively.
Early detection of bottlenecks is a key advantage of observability. [ more ]
Practical Ecommerce
22 hours ago
Web design

23 Free Tools to Test a Website

Testing ecommerce sites with free tools ensures optimal performance and availability. [ more ]
The New Stack
3 months ago
Web design

Astro Creator: New Web Metric Will Hurt JS Framework Sites

Astro creator raises concerns about new Web Core Vital
Impact on sites using popular JavaScript frameworks [ more ]
LogRocket Blog
5 months ago
Web design

Implementing scroll-aware UI state with CSS - LogRocket Blog

Interactive user interface features, like scroll-aware UI state, can improve website user experience but often pose challenges regarding performance optimization.
CSS-only solutions can reduce the workload on the rendering pipeline, as compared to JavaScript which works on the main thread. [ more ]
ESPN.com
2 days ago
Major League Baseball

'NBA teams have been tracking this kind of stuff for years': Why load management is MLB's next big thing

MLB teams are utilizing color-coded workload documents to monitor player performance and prevent injuries, focusing on optimizing player workload as a key factor for gaining a competitive edge. [ more ]
MarTech
3 weeks ago
Deliverability

How to produce brand-approved email designs on time and on budget | MarTech

Marketers often rely on email shortcuts that harm performance, like image-based designs and poor rendering. It's crucial to consider various factors for effective email campaigns. [ more ]
Pycoders
3 weeks ago
Python

PyCoder's Weekly | Issue #626

Handling CTRL-C interrupts elegantly in Python can be complex when dealing with concurrent code. [ more ]
Pythonbytes
1 month ago
Python

A Dramatic Episode

Inspect and correct PATH environment variable for optimization.
Open source projects face maintenance challenges and need better contributor vetting tools. [ more ]
CodeProject
3 weeks ago
JavaScript

A unique identifier usable across disconnected systems.

Implementing a globally unique ID generator using a custom routine with extra entropy for distributed systems, leveraging base62 for shorter IDs. [ more ]
Discerning Cyclist
1 month ago
Bicycling

E-Bike Tires: How to Choose Between Fat Tires and Slim Tires

Choosing between fat and slim tires is crucial for optimizing e-bike performance, comfort, and safety. [ more ]
www.infoq.com
1 month ago
Data science

Navigating LLM Deployment: Tips, Tricks and Techniques by Meryem Arik at Qcon London

Initial proofs of concept benefit from hosted solutions, but self-hosting is necessary for scaling models to cut costs, enhance performance, and meet security needs.
Using quantization and optimizing inference can help maximize GPU resources and efficiency in deploying Large Language Models. [ more ]
InfoQ
1 month ago
Data science

Netflix Launches bpftop Aimed at Enhancing eBPF Performance Efficiency

bpftop provides real-time monitoring and optimization of eBPF programs.
bpftop simplifies the process of benchmarking, refining code, and obtaining instant feedback for eBPF programs.
bpftop shows statistics as graphs over time, aiding in identifying patterns and trends. [ more ]
McCovey Chronicles
1 month ago
San Francisco Giants

The Camilo Doval burrito

Camilo Doval's performance can be compared to a burrito, showing perfection but also disaster.
The Giants are actively working on managing Camilo Doval's pitching issues to optimize his performance. [ more ]
Marcin Wanago Blog - JavaScript, both frontend and backend
1 month ago
JavaScript

API with NestJS #148. Understanding the injection scopes

NestJS default behavior is singleton provider scope for classes, sharing one instance for increased performance.
Request scope can be implemented for classes like logged-in-user.service.ts to be initialized per HTTP request. [ more ]
Medium
1 month ago
Angular

Angular and Wiz Are Better Together

Wiz is an internal web framework used by Google for performance-critical apps like Search, while Angular is focused on interactive apps.
Wiz prioritizes server-side rendering for optimal performance, but it increases complexity for developers compared to Angular. [ more ]
TNW | Future-Of-Work
5 months ago
Angular

Is Next.js right for you? Here are the top 5 Performance Benefits

Next.js is a popular and flexible React framework with server-side rendering, static site creation, and client-side rendering capabilities.
Server-side rendering in Next.js improves application performance, especially on mobile devices.
Next.js provides an optimized image loading feature for better performance. [ more ]
Engadget
1 month ago
Web development

Google releases a version of Chrome optimized for Snapdragon-powered Windows 11 PCs

Emulated x86 and x64 apps on Arm-based Windows PCs have had performance issues.
Google is optimizing Chrome for Snapdragon-powered Windows PCs. [ more ]
PythonSpeed
3 months ago
Web development

Profiling your Numba code

Numba is a tool that can speed up numeric Python code by compiling it to machine code
Profiling can help identify bottlenecks in Numba code [ more ]
LogRocket Blog
1 month ago
JavaScript

Migrating a JavaScript frontend to Leptos, a Rust framework - LogRocket Blog

Rust is gaining popularity for its performance and safety features.
Leptos, a Rust frontend framework, offers better performance and aesthetic UIs compared to popular JavaScript frameworks. [ more ]
Medium
2 months ago
Scala

Kotlin Tip #33: Using Delegation to Enhance Classes Without Inheritance-100 Kotlin Tips in 100...

Lazy initialization delays object creation until needed. Kotlin's by lazy delegate optimizes performance for costly property initialization.
By lazy delegate in Kotlin executes lambda expression once for property initialization, prevents re-invocation for subsequent accesses. [ more ]
Medium
3 months ago
Scala

Unlocking Spark's Hidden Power: The Secret Weapon of Caching Revealed in a Tale of Bug Hunting and...

Caching in Apache Spark is essential for improving performance by storing intermediary results in memory and reusing them instead of recalculating them from scratch.
Caching can also prevent inconsistencies caused by non-deterministic functions, such as the UUID function, by ensuring that the same results are used consistently across different operations. [ more ]
chanukya-pekala.medium.com
4 months ago
Scala

Spark Chained Transformations

Chained transformations in Spark help improve code readability and maintainability.
Chaining transformations allows for optimization and execution in a single pass, improving performance. [ more ]
Vue.js Feed
2 months ago
Vue

Evan You announces latest news about Vue.js and Vite - Vue.js...

Vue 3 improves performance
Addressing misconceptions about Vue.js [ more ]
Vue.js Feed
3 months ago
Vue

Vue's New Rendering Strategy (Vapor), Innovation vs Maintenance

Vue's Vapor mode can improve performance and has a smaller bundle size compared to Solid and React.
Vapor mode may not always be the best choice and it is important to benchmark different strategies for your application. [ more ]
DEV Community
2 months ago
JavaScript

HTML Streaming and DOM Diffing Algorithm

Browsers support streaming HTML and JavaScript.
Changing HTML content during streaming offers performance benefits. [ more ]
Amazic
2 months ago
DevOps

8 factors to consider to achieve optimal performance while managing costs - Amazic

Striking the right balance between performance and cost is crucial in the digital business landscape.
Factors like security, compliance, and auto-scaling strategies play key roles in effective cost management and optimal performance. [ more ]
DevOps.com
2 months ago
DevOps

Arm Extends Processor Architecture to Transform IT - DevOps.com

Arm introduces two processors with improved performance-per-socket and performance-per-watt ratios.
Arm partners with companies to manufacture next-generation processors for various use cases. [ more ]
Medium
3 months ago
JavaScript

Top 5 Tips for Optimizing React Performance

Minimizing component re-renders is essential for optimizing performance in React applications.
Lazy loading and code splitting are techniques that can be used to optimize the performance by loading only necessary components and reducing initial load time. [ more ]
InfoQ
3 months ago
Software development

The One Billion Row Challenge Shows That Java Can Process a One Billion Rows File in Two Seconds

Gunnar Morling launched The One Billion Row Challenge (1BRC) to find Java code that processes one billion rows in the fastest time.
Only SDK features running on any Java distribution can be used, excluding external libraries or data stores from the solution. [ more ]
Toucharcade
3 months ago
Video games

Apple Arcade Weekly Round-Up: Updates for Cut the Rope 3, Gibbon, Simon's Cat, and More Are Out Now

Apple Arcade had a quiet week with few new releases.
Notable updates include new levels for Cut the Rope 3 and Simon's Cat - Story Time. [ more ]
MarTech
6 months ago
Marketing

Communicating martech's value in a slowing economy | MarTech

Marketing budgets are down and layoffs are happening in the marketing industry.
Marketers need to demonstrate value and optimize performance to navigate the challenges. [ more ]
[ Load more ]