Performance

Measuring and improving the speed of code, mostly JavaScript.

Customising AI output by owning the denoising steps

Replacing, extending and holding images and video together by running every denoising step yourself.

20 October 2026

Some JavaScript performance comparisons

In JavaScript there are often many ways to achieve the same common things

14 March 2025

Fast log counters in PHP

Counting things and timing things in a busy PHP application, with atomic counters in shared memory so the database gets one write a minute instead of one per request.

20 January 2025

How Modal works

Python that describes its own deployment, and warm containers against cold starts.

16 October 2024

Comparison of JavaScript binary data objects

There are a set of objects for dealing with binary data in JavaScript, which are slightly different on NodeJS and in the browser.

15 March 2023

FastArray (draft)

A fast array is a trie-like data structure that allows for fast insertion and removal of elements at any index. It is useful for cases where you need to insert and remove elements at arbitrary indices in an array-like data structure.

15 March 2023

Simple speedups

If you have a Web application there are likely countless ways you can speed it up, some with significant performance gains, and some adding up to significant gains if you apply enough of them.

16 March 2018

The Google V8 engine

Google have been working hard to make JavaScript fast.

6 April 2010

Fixed point maths in x86 assembly

Fractional maths with whole-number instructions, for fast 3D graphics on the PC.

27 November 1997