Tim Kadlec
  • Writing
  • Speaking
  • About

Tagged: javascript

46 posts

  • October 21, 2024

    Why I’m skeptical of rewriting JavaScript tools in “faster” languages | Read the Tea Leaves

    Good food for thought here from Nolan Lawson about rewriting JS tools in "faster" languages.

    The point that a rewrite is often faster simply because it's a rewrite is a very valid one—over time we add more features/functionality to our code and it starts to have a cost not just on perf, but on maintainability as well. A rewrite lets us start with those learnings already in mind.

    But my favorite point is around the accessibility of JavaScript tools built in JavaScript:

    For years, we’ve had both library authors and library consumers in the JavaScript ecosystem largely using JavaScript. I think we take for granted what this enables.

    I wrote about this a few years back, but having JavaScript available on the front-end, back-end, on the edge, and in build tools is a powerful way to let developers extend their reach into different part of the tech stack and any decision to move away from that needs to be VERY carefully considered.

    ∞ Permalink
  • May 17, 2023

    Tracking Blocked Scripts - Chris Coyier

    So at first, it looked like about 10% of the BuySellAds scripts were being blocked. But after replacing how we were tracking the blocks with an internal service (just a little Redis counter), it was showing more like 28% of scripts being blocked.

    ∞ Permalink
  • March 31, 2023

    longtasks/loaf-explainer.md at main · w3c/longtasks · GitHub

    All of the above are part of the same issue - a task is an incomplete and inaccurate cadence to measure main-thread blocking.

    ∞ Permalink
  • February 27, 2023

    The JavaScript Site Generator Review, 2023—zachleat.com

    Nice little review of JavaScript site generators by Zach. Couple standouts, to me:

    • Of the 7 generators tested, only Astro and Eleventy default to 0kb of client-side JavaScript. More 0kb baselines, please.
    • Three of the generators hide npm audit reports by default. (Basically, the opposite of "secure by default")
    ∞ Permalink
  • January 26, 2021

    What About Ember?

    • performance
    • javascript
    • frameworks
  • October 13, 2020

    Missing

    • performance
    • javascript
    • analytics
  • April 21, 2020

    The Cost of Javascript Frameworks

    • performance
    • javascript
    • frameworks
  • April 16, 2020

    WebPageTest Custom Metrics with Request Data

    • metrics
    • webpagetest
    • javascript
  • April 9, 2020

    Pointer Compression in V8 · V8

    Detailed post about how v8 used Pointer Compression to reduce heap size by up to 43%, resulting in less CPU usage and less time on garbage collection.

    It's...dense. I'm going to likely have to re-read this several times to really understand all the details. Lots of interesting bits here.

    ∞ Permalink
  • March 18, 2020

    Building with Friction

    • performance
    • javascript
    • process
  • February 20, 2020

    In-Browser Performance Linting With Feature Policies

    • performance
    • process
    • workflow
  • June 14, 2019

    When should you be using Web Workers? — DasSur.ma

    Surma argues, compellingly, for why web workers need to take a more prominent role in JS-based applications. It's not just about the raw performance benefits, but the inclusivity that good performance brings.

    Unless a globally launched framework labels itself as exclusively targeting the users of the Wealthy Western Web, its has a responsibility to help developers target every phone on The Widening Performance Gap™️ spectrum.

    ∞ Permalink
  • April 8, 2019

    AddyOsmani.com - Native image lazy-loading for the web!

    In this post, we'll look at the new loading attribute which brings native <img> and <iframe> lazy-loading to the web!

    Exciting to finally see this ship! Folks have been asking for a standards-based way to support lazy-loading images for years.

    Gives me hope that maybe, someday, we'll have element queries.

    ∞ Permalink
  • February 20, 2019

    AddyOsmani.com - JavaScript Loading Priorities in Chrome

    Handy little reference from Addy Osmani showing how Chrome handles JavaScript scheduling.

    ∞ Permalink
  • February 6, 2019

    SpeedCurve | JavaScript Dominates Browser CPU

    Ten years ago the network was the main bottleneck. Today, the main bottleneck is JavaScript.

    ∞ Permalink
  • February 6, 2019

    What Hooks Mean for Vue | CSS-Tricks

    A very approachable explanation from Sarah about what Hooks are and the problems they solve for Vue.

    ∞ Permalink
  • January 31, 2019

    Limiting JavaScript?

    • performance
    • javascript
    • webkit
  • December 12, 2018

    JavaScript and Civil Rights | Deque

    Fantastic post from Marcy about the consequences of the way we build, and how we can improve.

    ∞ Permalink
  • December 4, 2018

    Risking a Homogeneous Web

    • standards
    • google
    • microsoft
  • November 26, 2018

    What If? – CSS Wizardry – CSS Architecture, Web Performance Optimisation, and more, by Harry Roberts

    While ever you build under the assumption that things will always work smoothly, you’re leaving yourself completely ill-equipped to handle the scenario that they don’t.

    ∞ Permalink
  • November 21, 2018

    Second Meaningful Content: the Worst Performance Metric | Filament Group, Inc., Boston, MA

    I rather like Scott's term for what happens when you use client-side JavaScript for A/B testing.

    This pattern leads to such a unique effect on page load that at last week's Perf.Now() Conference, I coined a new somewhat tongue-in-cheek performance metric called "Second Meaningful Content," which occurs long after the handy First Meaningful Content (or Paint) metric, which would otherwise mark the time at which a page starts to appear usable.

    ∞ Permalink
  • October 31, 2018

    Performance Postmortem: Mapbox Studio

    Lovely performance "postmortem" from Eli Fitch about how MapBox got their first-meaningful-paint to drop from 4.7s to 1.9 seconds.

    Some good insights into technical optimizations, but as always, the cultural aspects are the most difficult–and the most important.

    Nurturing cultural awareness and enthusiasm for building fast, snappy, responsive, tactile products is arguably the most effective performance improvement you can make, but can be the most challenging, and requires the most ongoing attention.

    ∞ Permalink
  • September 26, 2018

    Accurately measuring layout on the web | Read the Tea Leaves

    Clever stuff from Nolan about trying to measure the complete cost of a component—not just the JS execution.

    ∞ Permalink
  • September 6, 2018

    Chrome's NOSCRIPT Intervention

    • performance
    • chrome
    • mobile
  • March 28, 2018

    Notes on: Raiders of the Fast Start at Perfmatters

    • performance
    • perfmattersconf
    • javascript
  • February 22, 2018

    Maybe you don't need Rust and WASM to speed up your JS

    An incredibly detailed walkthrough of optimizing the heck out of some JavaScript. Some really impressive gains here and lots of great, low-level information.

    ∞ Permalink
  • February 6, 2015

    Client-side MVC's major bug

    • performance
    • javascript
    • frameworks
  • October 30, 2014

    Reducing JavaScript Bloat with Shoestring

    • performance
    • javascript
  • September 26, 2014

    JS Parse and Execution Time

    • performance
    • javascript
  • January 31, 2014

    Smart Defaults: On Libraries & Frameworks

    • javascript
    • performance
    • frameworks
  • April 13, 2009

    Book Review: Object-Oriented Javascript

    • books
    • javascript
  • December 16, 2008

    Exploring Cross Document Communication

    • javascript
  • August 20, 2008

    Living In Harmony

    • javascript
  • June 4, 2008

    Javascript: The Good Parts

    • books
    • javascript
  • May 21, 2008

    Libraries and Frameworks

    • coding
    • javascript
  • April 28, 2008

    An Objective Look at Javascript 2.0: Strong Typing

    • javascript
  • April 22, 2008

    An Objective Look at Javascript 2.0: Looking Back

    • javascript
  • April 8, 2008

    Book Review: Pro JavaScript Design Patterns

    • books
    • javascript
  • March 5, 2008

    Quicker DOM Traversing with CSS Selectors

    • css
    • javascript
  • February 18, 2008

    XPath in Javascript: Predicates and Compounds

    • javascript
    • xpath
  • February 12, 2008

    XPath in Javascript: Introduction

    • javascript
    • xpath
  • January 21, 2008

    Display a Link's Href When Printing

    • css
    • javascript
    • print
  • January 17, 2008

    Branching Out

    • javascript
  • January 2, 2008

    Using Prototypes in Javascript

    • javascript
  • December 28, 2007

    An Introduction to Classy Javascript

    • javascript
  • December 6, 2007

    All For One Or One For All

    • javascript
    • events

© 2026 Tim Kadlec.

If RSS is your sort of thing, you can subscribe to a few different feeds. The main feed has everything. There are also individual feeds for just posts, just links, and just book reviews.