Below you will find pages that utilize the taxonomy term “tools”

December 7, 2021

Optimise all the (right) things! The power of resource analysis

Adding analytics is always a bit like switching on the lights in a previously dark room. We start to see patterns and problems that had not even been considered before. These highlights can lead the way to better and smarter optimisations. That said, analytics should be both informative and actionable. Often, analytics give us incredibly informative with information with aggregations, but leave a large gap toward the actionable aspect of analysis.

July 9, 2021

Always watching for you - Introducing Alerting!

Part of running your website every day is knowing that things are ok. Websites experies outages for all kinds of reasons, and indeed as the complexity of the website increases, so too does the likelihood of something going wrong. Outages comes in all shapes and forms, unreachable DNS, 3rd party scripts misbehaving, failing AJAX calls, buggy javascript are just a few of the reasons. The symptoms can be truly diverse and more often than not it is something we hadn’t thought of (otherwise we would have a code path handling that case, right, right?

May 19, 2021

Why did Nock not record all the api requests?

tl;dr Nock overrides http(s).request functions, which needs to be done before other code stores a reference to it. We ran into an issue where Nock wasn’t recording api calls to a new service dependency we introduced into the BytesMatter codebase. The solution eventually turned out to be quite straightforward, but investigating it taught us that sometimes code subtleties mean that tools are not always as straightforward to use as the “copy-paste” tutorials suggest.

January 4, 2021

Performance Resource Timing, Cors, and AJAX requests

This is a quick summary of a caveat of cross-origin resource sharing (CORS) when measuring performance of ajax requests using performance resource timings in the browser. To be clear in this article we will unpack slightly some of the information from Mozilla’s documentation on the subject. Why? While it contains the root cause it does not spell out the consequence, which hopefully we’ll do here. Resource Timing API wait what?! The rise and influence of performance measuring and monitoring across the discipline of web engineering has meant the respective tooling has come a long way too.

November 13, 2020

Real User Monitoring vs Synthetic Web Performance Tools

Let’s start with an assertion: Web performance is important. You agree with that and that’s why you’re here. Both real user monitoring and synthetic web performance tooling offer ways to shed light on how your website is performing for your users. Which to use? Easy, they offer different views and are both important. A simple way to differentiate is tools measure and evaluate, and monitoring tracks trends and deviations. If I may insert a pedantic opinion here, the former is best suited to build time and the latter for your production website.