Upgrading Node.js: What Changes Between LTS Lines, Measured

Measured November 23, 2026 · Updated November 28, 2026 · our Node.js tracker

Every month we run Node.js 18.20.8, 20.20.2, 22.23.5, 24.22.3 and 26.13.1 on one machine with one script. Pick your upgrade below: it lists only the changes our test can tell from noise, the defaults that changed, and when your line ends.

Your Upgrade

24.22.3 → 26.13.12 faster

Node.js 24 (Krypton) gets fixes until April 30, 2028. Node.js 24 page · Node.js 26 page

  • JSON parse and stringify, 20,000 objects: 48.2 ms → 37.7 ms -21.8%
  • String building and splitting: 59.3 ms → 33.1 ms -44.1%

5 other workloads: no clear change (under 10% or within twice the spread).

22.23.5 → 24.22.33 faster2 slower

Node.js 22 (Jod) gets fixes until April 30, 2027. Node.js 22 page · Node.js 24 page

  • JSON parse and stringify, 20,000 objects: 56.3 ms → 48.2 ms -14.3%
  • Regular expressions over 2.4 MB of text: 9.23 ms → 7.61 ms -17.6%
  • Sort 300,000 numbers: 81.9 ms → 93.4 ms +13.9%
  • Map with 300,000 keys: 87.5 ms → 71.4 ms -18.4%
  • String building and splitting: 39.2 ms → 59.3 ms +51.5%

2 other workloads: no clear change (under 10% or within twice the spread).

22.23.5 → 26.13.13 faster1 slower

Node.js 22 (Jod) gets fixes until April 30, 2027. Node.js 22 page · Node.js 26 page

  • JSON parse and stringify, 20,000 objects: 56.3 ms → 37.7 ms -33%
  • Regular expressions over 2.4 MB of text: 9.23 ms → 7.67 ms -16.9%
  • Sort 300,000 numbers: 81.9 ms → 92.8 ms +13.3%
  • Map with 300,000 keys: 87.5 ms → 70.4 ms -19.6%

3 other workloads: no clear change (under 10% or within twice the spread).

20.20.2 → 22.23.5endedno clear speed change

Node.js 20 (Iron) ended April 30, 2026. Node.js 20 page · Node.js 22 page

No workload changed clearly between these two versions.

7 other workloads: no clear change (under 10% or within twice the spread).

20.20.2 → 26.13.1ended4 faster

Node.js 20 (Iron) ended April 30, 2026. Node.js 20 page · Node.js 26 page

  • JSON parse and stringify, 20,000 objects: 61.9 ms → 37.7 ms -39.1%
  • Regular expressions over 2.4 MB of text: 9.15 ms → 7.67 ms -16.1%
  • Map with 300,000 keys: 94.8 ms → 70.4 ms -25.8%
  • String building and splitting: 48.8 ms → 33.1 ms -32.1%

3 other workloads: no clear change (under 10% or within twice the spread).

18.20.8 → 20.20.22 faster

Node.js 18 is out of support. · Node.js 20 page

  • JSON parse and stringify, 20,000 objects: 69.7 ms → 61.9 ms -11.1%
  • String building and splitting: 59.6 ms → 48.8 ms -18.1%

5 other workloads: no clear change (under 10% or within twice the spread).

18.20.8 → 26.13.13 faster1 slower

Node.js 18 is out of support. · Node.js 26 page

  • JSON parse and stringify, 20,000 objects: 69.7 ms → 37.7 ms -45.9%
  • Sort 300,000 numbers: 84.0 ms → 92.8 ms +10.4%
  • Map with 300,000 keys: 108 ms → 70.4 ms -34.8%
  • String building and splitting: 59.6 ms → 33.1 ms -44.4%

3 other workloads: no clear change (under 10% or within twice the spread).

Defaults Between 18.20.8 and 26.13.1

Our test reads every runtime default, global and built-in module. Between the oldest and newest line we run, 6 defaults changed and 6 entries are gone. The monthly run from December on lists them for each step as well.

Defaults that changed between Node.js 18.20.8 and 26.13.1
Default18.20.826.13.1
buffer.maxLength42949672969007199254740991
buffer.poolSize819265536
http.globalAgent.keepAlivefalsetrue
net.autoSelectFamilyfalsetrue
net.autoSelectFamilyAttemptTimeout250500
stream.highWaterMark1638465536

Gone in 26.13.1: _stream_duplex, _stream_passthrough, _stream_readable, _stream_transform, _stream_wrap, _stream_writable. Code that imports them breaks.

39 new in 26.13.1 globals and modules

AsyncDisposableStack, CloseEvent, Crypto, CryptoKey, CustomEvent, DisposableStack, ErrorEvent, File, Float16Array, Iterator, Navigator, PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceObserver, PerformanceObserverEntryList, PerformanceResourceTiming, QuotaExceededError, Storage, SubtleCrypto, SuppressedError, Temporal, URLPattern, WebSocket, crypto, localStorage, navigator, sessionStorage, inspector/promises, node:ffi and 9 more in the raw data.

How We Measured

One script with 7 small workloads runs on every line's newest release in one run on one machine; each number is a median of the rounds, and a change counts only at 10% or more and at least twice the spread. Small kernels, not your application: test your own code before you switch. Method, every number and the raw data: Node.js performance by version: 18 to 26, benchmarked.

Each supported line has its own page: Node.js 26 (Lithium) · Node.js 24 (Krypton) · Node.js 22 (Jod).

Spotted a mistake? Report a correction.