Your Guide to Automated Testing [Article and Tutorials]


It's time to automate you testing process! What Is Automated Testing?

Article: Donkey: A Highly-Performant HTTP Stack for Clojure

InfoQ Articles

In this article, we’ll briefly outline the use-case for a library like Donkey and present our benchmarks. JVM HTTP Clojure Networking Performance & Scalability Java Functional Programming Development Architecture & Design article


Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Test Orchestration and Its Need For Successful Automation


test articleIntroduction. We all know that the biggest challenge for any organization is the changing needs of the customers and finding a way to address these quickly without any compromise on quality.

content-visibility: the new CSS property that boosts your rendering performance

CSS - Tricks

Direct Link to Article — Permalink. Article content-visibility performanceUna Kravets and Vladimir Levin: […] you can use another CSS property called content-visibility to apply the needed containment automatically.

Tools for Auditing CSS

CSS - Tricks

Whatever the case and whenever that moment arrives, I usually reach for some of the tools I‘ll cover in the article. You might also want to check out this article by Umar Hansa , who compiled a whole bunch of great DevTool features that released in 2020.

Responsible, Conditional Loading

CSS - Tricks

Over on the Polypane blog (there’s no byline but presumably it’s Kilian Valkhof ( it is )), there is a great article, Creating websites with prefers-reduced-data , about the prefers-reduced-data media query. Article performance prefers-reduced-data prefers-reduced-motion

Media 69

Fixing a slow site iteratively

CSS - Tricks

In that spirit, what we’re looking at in this article is focused more on the incremental wins and less on providing an exhaustive list or checklist of performance strategies. I’m going to audit the performance of my slow site before and after the things we tackle in this article.

Self-Host Your Static Assets

CSS Wizardry

A classic example is jQuery, that we might link to like so: There are a number of perceived benefits to doing this, but my aim later in this article is to either debunk these claims, or show how other costs vastly outweigh them. I won’t go into too much detail in this post, because I have a whole article. To the credit of all of the providers referenced so far in this article, they do all make use of Subresource Integrity.

Cache 219

Some Performance Links

CSS - Tricks

Article performanceJust had a couple of good performance links burning a hole in my pocket, so blogging them like a good little blogger. Web Performance Recipes With Puppeteer. Puppeteer is an Node library for spinning up a copy of Chrome “headlessly” (i.e.

Thinking About Power Usage and Websites

CSS - Tricks

Jack Lenox’s article “How Improving Website Performance Can Help Save The Planet” on Smashing is a better deep dive. Article performanceGerry McGovern asked if I had any insight into energy consumption and websites.

radEventListener: a Tale of Client-side Framework Performance

CSS - Tricks

I ultimately decided not to include those numbers in this article. Article performance react state managementReact is popular, popular enough that it receives its fair share of criticism.

How I Used Brotli to Get Even Smaller CSS and JavaScript Files at CDN Scale

CSS - Tricks

This article is about my experience using Brotli at production scale. Article Beginner brotli compression performance server side rendering

Cache 75

Do This to Improve Image Loading on Your Website

CSS - Tricks

Direct Link to Article — Permalink The post Do This to Improve Image Loading on Your Website appeared first on CSS-Tricks. Article aspect ratio images performanceJen Simmons explains how to improve image loading by simply using width and height attributes.

Continuous Performance Analysis with Lighthouse CI and GitHub Actions

CSS - Tricks

In this article, we’ll go over how to set up Lighthouse CI and run it locally, then how to get it working as part of a CI workflow through GitHub Actions. Article build tool lighthouse performance performance budget

The Analytics That Matter

CSS - Tricks

Yet that first render might not be actually useful content, like the headline and body copy of a news article. Personally, I’d care about when the article itself renders on this site. Article analytics google analytics performance

?The Modern Web?

CSS - Tricks

A couple of interesting articles making the rounds: Tom MacWrite: Second-guessing the modern web Rich Harris: In defense of the modern web. Article performance react static sites

Make Jamstack Slow? Challenge Accepted.

CSS - Tricks

While we’re talking about performance, here are a few of my favorite performance articles on here at CSS-Tricks: The Complete Guide to Lazy Loading Images The Differing Perspectives on CSS-in-JS Third-Party Scripts. Article jamstack lighthouse performance“Jamstack is slowwwww.”

Cache 67


CSS - Tricks

Direct Link to Article — Permalink The post prerender.js Article performance prefetchThis is another player in the game of rendering the page of the link that you’re about to click on before you click it.

Games 58

Measuring Core Web Vitals with Sentry

CSS - Tricks

Article core web vitals performanceChris made a few notes about Core Web Vitals the other day, explaining why measuring these performance metrics are so gosh darn important: I still think the Google-devised Core Web Vitals are smart.

Build a Node.js Tool to Record and Compare Google Lighthouse Reports

CSS - Tricks

Article lighthouse node performanceIn this tutorial, I’ll show you step by step how to create a simple tool in Node.js

More on content-visibility

CSS - Tricks

Article accessibility content-visibility performanceBack in August 2020, when the content-visiblity property in CSS trickled its way into Chrome browsers, Una Kravets and Vladimir Levin wrote about it and we covered it. The weirdest part is that to get the performance value out of it, you pair it with contain-intrinsic-size on these big chunks of the page where you insert some arbitrary guess at a height. I wrote: That part seems super weird to me. Just guess at a height?

Media 54

Web Performance Checklist

CSS - Tricks

Article performanceThe other day, I realized that web performance is an enormous topic covering so very much — from minimizing assets to using certain file formats, it can be an awful lot to keep in mind while building a website. It’s certainly far too much for me to remember! So I made a web performance checklist. It’s a Notion doc that I can fork and use to mark completed items whenever I start a new project. It also contains a bunch of links for references.

AWS 51

How Google PageSpeed Works: Improve Your Score and Search Engine Ranking

CSS - Tricks

This article is from my friend Ben who runs Calibre , a tool for monitoring the performance of websites. In this article, we uncover how PageSpeed calculates it’s critical speed score. Our article titled "The Critical Request" explains in great detail how the browser fetches and renders critical resources used to render your pages. Related Articles. Article lighthouse performance seo

Performance Links

CSS - Tricks

I've had a number of browser tabs open to articles all related to web performance and gosh darn it if blogging them is a way for me get some closure. Article performanceThey are all good! Manuel Matuzovic, Why 543 KB keep me up at night : Yes, I know, it depends. 543 KB aren't always bad, but on that specific page there's only a single image (the logo ~20 KB) and a single paragraph. So why then is the page still relatively large, where are the remaining 523 KB coming from?

How to Increase Your Page Size by 1,500% with webpack and Vue

CSS - Tricks

Disclaimer: This article is mostly satire. You know, there are a lot of articles out there telling you how to make your page smaller: optimize your images, remove extraneous CSS rules, re-write the whole thing in Dreamweaver using framesets. What we don’t have are enough articles showing you how to increase your page size. In fact, the only article I could find was this one from the Geek Squad which ended up being about making the font size bigger.

Cache 58

Why Are Accessible Websites so Hard to Build?

CSS - Tricks

Article accessibility code editor performanceI was chatting with some front-end folks the other day about why so many companies struggle at making accessible websites. Why are accessible websites so hard to build? We learn about HTML, we make sure things are semantic and — voila! @— we have an accessible website.

Planning for Responsive Images

CSS - Tricks

This article aims at affording simple yet effective guidelines for setting up responsive images and layouts in light of the many—and potentially confusing—options available. Article images performance responsive srcsetThe first time I made an image responsive, it was as simple as coding these four lines: img { max-width: 100%; height auto; /* default */ }. Though that worked for me as a developer, it wasn’t the best for the audience.

Native Lazy Loading

CSS - Tricks

Article iframes images lazy loading performanceIntersectionObserver has made lazy loading a lot easier and more efficient than it used to be, but to do it really right you still gotta remove the src and such, which is cumbersome. It's definitely not as easy as: <img src="celebration.jpg" loading="lazy" alt="." /> Addy Osmani says it's coming in Chrome 75: The loading attribute allows a browser to defer loading offscreen images and iframes until users scroll near them.

Games 54

Preloading Pages Just Before They are Needed

CSS - Tricks

Article performance prefetch preloadThe typical journey for a person browsing a website: view a page, click a link, browser loads new page. That's assuming no funny business like a Single Page App, which still follows that journey, but the browser doesn't load a new page — the client fakes it for the sake of a snappier transition. What if you could load that new page before the person clicks the link so that, when they do, the loading of that next page is much faster?

Innovation Can’t Keep the Web Fast

CSS - Tricks

Article performanceEvery so often, the fruits of innovation bear fruit in the form of improvements to the foundational layers of the web. In 2015, HTTP/2 became a published standard in an effort to update an aging protocol. This was was both necessary and overdue, as HTTP/1 rendered web performance as an arcane sort of discipline in the form of strange workarounds of its limitations.

Using rel=”preconnect” to establish network connections early and increase performance

CSS - Tricks

Article performanceMilica Mihajlija : Adding rel=preconnect to a <link> informs the browser that your page intends to establish a connection to another domain, and that you'd like the process to start as soon as possible. Resources will load more quickly because the setup process has already been completed by the time the browser requests them.

Recipes for Performance Testing Single Page Applications in WebPageTest

CSS - Tricks

Throughout this article, we are going to find out how to solve these problems (and many more), and you’ll be ready to test the performance of your Single Page Application with WebPageTest! Note: This articles requires an intermediate understanding about some of WebPageTest advanced features. singleNodeValue; I will not go into details on how to use it as it would have me wander away from the goal of this article. Article performance testing

The Performance Inequality Gap, 2021

Alex Russell

In a world with better balance, most articles would be dedicated to announcements of mid-range devices from LG and Samsung. TL;DR: A lot has changed since 2017 when we last estimated a global baseline resource per-page resource budget of 130-170KiB.

A Deep Dive into Native Lazy-Loading for Images and Frames

CSS - Tricks

Article chrome lazy loading performanceToday's websites are packed with heavy media assets like images and videos. Images make up around 50% of an average website's traffic. Many of them, however, are never shown to a user because they're placed way below the fold. What’s this thing about images being lazy, you ask? Lazy-loading is something that’s been covered quite a bit here on CSS-Tricks, including a thorough guide with documentation for different approaches using JavaScript.

Accessibility and web performance are not features, they’re the baseline

CSS - Tricks

Article accessibility performanceThis week I’ve been brooding about web performance and accessibility. It all began when Ethan Marcotte made a lot of great notes about the accessibility issues that are common with AMP : In the recordings above, I’m trying to navigate through the AMP Story.

Weekly Platform News: Improving UX on Slow Connections, a Tip for Writing Alt Text and a Polyfill for the HTML loading attribute

CSS - Tricks

Article alt text performance SpeechSynthesisIn this week's roundup, how to determine a slow connection, what we should put into alt text for images, and a new polyfill for the HTML loading attribute, plus more. Detecting users on slow connections.

Media 46

Ten-Ton Widgets

CSS - Tricks

Article performance third-partyAt a recent conference talk (sorry, I forget which one), there was a quick example of poor web performance in the form of a third-party widget. The example showed a site that installed the widget in order add a "email us" button fixed to the bottom right of the viewport. Not even a live-chat widget — just an email thing. It weighed in at something like 470KB, which is straight bananas.

A Look at JAMstack’s Speed, By the Numbers

CSS - Tricks

Artem told me he’d like to thank Rick Viscomi, Rob Austin, and Aleksey Kulikov for their help in reviewing the article. Article jamstack performance performance budgetPeople say JAMstack sites are fast — let’s find out why by looking at real performance metrics! We’ll cover common metrics, like Time to First Byte ( TTFB ) among others, then compare data across a wide section of sites to see how different ways to slice those sites up compare.

Speed 46

The Bottleneck of the Web

CSS - Tricks

Article JavaScript performanceSteve Souders, "JavaScript Dominates Browser CPU" : Ten years ago the network was the main bottleneck. Today, the main bottleneck is JavaScript. The amount of JavaScript on pages is growing rapidly (nearly 5x in the last 7 years). In order to keep pages rendering and feeling fast, we need to focus on JavaScript CPU time to reduce blocking the browser main thread.

Weekly Platform News: Layout Shifts, Stalled High-Bitrate Videos, Screenshots in Firefox

CSS - Tricks

Article firefox performance videoIn this week's roundup: fighting shifty layouts, some videos might be a bit stalled, and a new way to take screenshots in Firefox. Let's get into the news! Identifying the causes of layout shifts during page load. You can now use WebPageTest to capture any layout shifts that occur on your website during page load, and identify what caused them. Step 1: Paste a snippet.

Fast Software

CSS - Tricks

Article performanceThere have been some wonderfully interconnected things about fast software lately. We talk a lot of performance on the web. We can make things a little faster here and there. We see rises in success metrics with rises in performance. I find those type of charts very satisfying. But perhaps even more interesting is to think about the individual people that speed affects. It can be the difference between I love this software and Screw this, I'm out.

Using React Loadable for Code Splitting by Components and Routes

CSS - Tricks

Article code splitting performance reactIn a bid to have web applications serve needs for different types of users, it’s likely that more code is required than it would be for one type of user so the app can handle and adapt to different scenarios and use cases, which lead to new features and functionalities. When this happens, it’s reasonable to expect the performance of an app to dwindle as the codebase grows.

Code 51

Chrome Lite Pages

CSS - Tricks

Article android chrome google lite pages performanceThe Chrome team announced a new feature called Lite Pages that can be activated by flipping on the Data Saver option on an Android device: Chrome on Android’s Data Saver feature helps by automatically optimizing web pages to make them load faster.