Best of PerformanceFebruary 2023

  1. 1
    Article
    Avatar of communityCommunity Picks·3y

    Advanced JavaScript Functions to Improve Code Quality

    Learn advanced JavaScript functions to improve code quality, including Debounce, Throttle, Once, Memoize, Curry, Partial, Pipe, Compose, Pick, Omit, and Zip. Boost your performance and make your code more beautiful.

  2. 2
    Article
    Avatar of builderiobuilder.io·3y

    Use Maps More and Objects Less

    Objects in JavaScript can be replaced with maps for better performance, easier iteration, and key-value manipulation. Maps are optimized for frequently adding and removing keys, unlike objects. They also solve issues of objects being polluted with built-in keys and provide better iteration methods. Maps can be easily copied, converted to objects, and vice versa. They can also be used for associating metadata with objects. Sets, another similar data structure, provide a better-performing way to create unique lists of elements.

  3. 3
    Article
    Avatar of chromeChrome Developers·3y

    What's new in Lighthouse 10

    Lighthouse 10 introduces scoring changes, new audits, and breaking changes for Node users. It also provides instructions on how to install and run Lighthouse.

  4. 4
    Article
    Avatar of dbconvertDBconvert·3y

    MySQL vs PostgreSQL in 2023.

    PostgreSQL and MySQL are both reliable, secure and scalable databases that have been around for decades. They each have different strengths and weaknesses that make one more suitable for certain use cases than the other. This article will compare them to aid in making an informed decision in 2023.

  5. 5
    Article
    Avatar of communityCommunity Picks·3y

    "Mastering Re-rendering in React: A Beginner's Guide"

    A Beginner's Guide to Mastering Re-rendering in React "Navigating the Fundamentals of Reconciliation and Techniques for Optimizing Re-rendereding" The highlight of the topic will be covered in this blog post.

  6. 6
    Article
    Avatar of builderiobuilder.io·3y

    How To Improve Lighthouse Scores by Avoiding <img> Layout Shifts

    Improving Lighthouse scores can be achieved by setting the correct aspect ratio on images. Cumulative Layout Shift (CLS) is a metric that measures layout adjustments. Two recommended approaches to solving image CLS issues are using the aspect-ratio CSS property and setting width and height attributes on the img tag.

  7. 7
    Article
    Avatar of asayerasayer·3y

    Why you should use Go for the Back End

    Go is the perfect programming language for the backend of your front-end application. Go's compilation speed is rumored to be faster than C++, making it a good choice for large-scale projects. Go’s concurrency features produce an impressive performance for high data traffic since Go allows programs to take advantage of modern multi-core processors.

  8. 8
    Article
    Avatar of communityCommunity Picks·3y

    Announcing a new TypeScript ORM

    Announcing Orchid ORM, a new TypeScript ORM that offers type safety, flexibility, ease of use for complex cases, and performance. The ORM addresses the limitations of raw SQL and query builders and provides a more powerful and TypeScript-friendly alternative.

  9. 9
    Article
    Avatar of communityCommunity Picks·3y

    Why I Quit a $450,000 Engineering Job at Netflix

    When you stay at a job that you’d rather quit only for the money, it's the riskiest choice of all. Netflix’s transparency around all of its product decisions was one of the best perks of working there. It contrasts with the more secretive culture at Apple and Amazon.

  10. 10
    Article
    Avatar of medium_jsMedium·3y

    Optimizing Your Web App: How To Score 100 on Lighthouse

    Learn how to optimize your web app to score 100 on Lighthouse. Understand the difference between Lighthouse score and field data, and the impact of Total Blocking Time on performance.

  11. 11
    Article
    Avatar of btrprogBetter Programming·3y

    We Rewrote Our Project With Rust… and It’s Almost 40X Faster

    Discover the benefits of rewriting a project in Rust, including fewer bugs, improved performance, and reduced memory usage.

  12. 12
    Article
    Avatar of do_communityDigitalOcean Community·3y

    How To Scale Node.js Applications with Clustering

    This tutorial explains how to scale a Node.js application using the cluster module, which creates multiple copies of the same application on the same machine. It demonstrates how clustering can improve performance by distributing the load among processes and provides a comparison between a single-instance app and a clustered app.

  13. 13
    Article
    Avatar of asayerasayer·3y

    A Guide to React's useEffect Hook

    A Guide to React's useEffect Hook Back React’s hook is one of the trickiest and most powerful hooks in functional components, allowing you to perform side effects. In React, side effect effectively means any operations that affect something outside the component, such as making a REST API call, updating the DOM, etc.

  14. 14
    Article
    Avatar of devtoDEV·3y

    Rethinking the Modern Web

    Frontend has an engineering problem! The average website performance is regressing and the average developer productivity is grinding to a halt. The vibrant ecosystem in frontend is not translating to more accessible, functional apps for users or more speed and productivity for developers. The article discusses the counterintuitive equations in frontend development, the paradigm shift towards JavaScript-first approaches, and the need for a rethink in the modern web.

  15. 15
    Article
    Avatar of thevergeThe Verge·3y

    Best laptop 2023: 15 best laptops you can buy

    Best laptop of 2023: 15 best laptops to buy in 2023 can come with a variety of brands, prices, and features. We've got the rest of the best laptops, Windows 10 business notebooks, gaming laptops, Chromebooks, laptops for school, and 2-in-1 convertibles.

  16. 16
    Article
    Avatar of huggingfaceHugging Face·3y

    Fast Stable Diffusion for Mac

    Diffusers for Mac is a native app that uses state-of-the-art diffusion models to transform text into images. It offers significant performance upgrades and a user-friendly interface. The app is open source, supports Core ML models, and runs on all compute devices in your system. Performance benchmarks show that Diffusers 1.1 can be up to twice as fast for Text-to-Image Generation.

  17. 17
    Article
    Avatar of communityCommunity Picks·3y

    How to be Better with Performance Optimization in React

    Learn how to improve performance in React applications by using techniques such as shallow comparison and shouldComponentUpdate, as well as built-in optimizations like React.PureComponent and React.memo(). Discover common performance issues in React and ways to mitigate them. Explore other performance strategies like server-side rendering, lazy loading, and using Web Workers. Discover tools for monitoring and optimizing React app performance.

  18. 18
    Article
    Avatar of chromeChrome Developers·3y

    What's New In DevTools (Chrome 110)

    DevTools in Chrome 110 introduces various updates and improvements. The Performance panel now clears the screenshot and trace on reload, providing a better measurement start. The Recorder now offers split code view, customization of selector types, and the ability to edit user flow during recording. The Sources panel has improved syntax highlighting and inline previews for Vue, SCSS, and more. Autocomplete in the Console is now more ergonomic and consistent. Other highlights include automatic in-place pretty print, better syntax highlighting, and various fixes.

  19. 19
    Article
    Avatar of planetscalePlanetScale·3y

    What are the disadvantages of database indexes?

    Learn about the possible downsides of using database indexes, including additional storage requirements and slower write operations. Discover how to find and remove unused indexes in MySQL.

  20. 20
    Article
    Avatar of builderiobuilder.io·3y

    Bloom Filters Can Speed Up Your Code

    Bloom filters are probabilistic data structures that determine whether a given key has been seen before. They are faster and more memory-efficient than hash maps and can be used to optimize performance when searching for data that might not exist in a large set.

  21. 21
    Article
    Avatar of dzDZone·3y

    Mobile App Development Trends and Best Practices

    Mobile app development is an evolving field with new trends and best practices. Trends include artificial intelligence, cross-platform development, internet of things, progressive web apps, and wearables. Best practices include user-centered design, performance optimization, security in deployment, testing, and continuous improvement.

  22. 22
    Article
    Avatar of communityCommunity Picks·3y

    10 Best Practices for Flutter in 2022

    Learn about best practices for Flutter development in 2022, including refactoring code into widgets, making the build function pure, using state management, defining a theme, following the effective Dart style guide, selecting packages carefully, using async/await, using MediaQuery/LayoutBuilder wisely, using streams only when needed, and using the const keyword whenever possible.

  23. 23
    Article
    Avatar of css_tricksCSS-Tricks·3y

    The truth about CSS selector performance | CSS-Tricks

    Learn how to analyze and improve CSS performance using Edge DevTools. Discover insights from the 'Selector Stats' tab.

  24. 24
    Article
    Avatar of pointerPointer·3y

    Rust's Ugly Syntax

    Rust's Ugly Syntax People complain about Rust's syntax, but they actually object to Rust’s semantics. In this slightly whimsical post, I’ll try to disentangle the two. The motivation for it is somewhat esoteric.

  25. 25
    Article
    Avatar of medium_jsMedium·3y

    5 Python Scripts I Found Useful for Data Processing Operations

    Some useful data preprocessing scripts in Python 5 Python Scripts I found useful for Data Processing Operations. The scripts below may aid you in removing your loops, particularly data processing operations. The script below can allow you to deliver different names for various aggregations using a single column: Filtering Nested Dictionaries.