belgattitude
httpx
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Latest small improvements
#2675
Merged
Comparing
latest-small-improvements
(
bde0d9b
) with
main
(
b5e08b8
)
CodSpeed Performance Gauge
-37%
Improvement
10
Regression
18
Untouched
52
New
20
Skipped
28
No successful run was found on
main
(
0e72b23
) during the generation of this report, so
b5e08b8
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
New
Untouched
Skipped
128 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
FlatTreeWsMapper.toTreeNodesOrThrow
packages/treeu/bench/mapper.bench.ts::Bench mapper (10_000 entries)
CodSpeed Performance Gauge
-37%
629.7 µs
995.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
createStableKeyOrThrow without array sorting
packages/stable-hash/bench/create-stable-key.bench.ts::createStableKeyOrThrow
CodSpeed Performance Gauge
-34%
109.4 µs
164.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
@httpx/stable-hash
packages/stable-hash/bench/compare.bench.ts::Comparison
CodSpeed Performance Gauge
-32%
109.1 µs
160 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Decompressor('deflate').fromUint8Array (compressed size: 87 B / total: 10 kB)
packages/compress/bench/decompress-uint8array.bench.ts::Decompressor
CodSpeed Performance Gauge
-30%
1 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
createStableKeyOrThrow with array sorting
packages/stable-hash/bench/create-stable-key.bench.ts::createStableKeyOrThrow
CodSpeed Performance Gauge
-24%
111.8 µs
147.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original function
packages/xcache/bench/cache-key.bench.ts::genCacheKey benches
CodSpeed Performance Gauge
-23%
160 µs
207.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
@tanstack/query-core (hashKey)
packages/stable-hash/bench/compare.bench.ts::Comparison
CodSpeed Performance Gauge
-21%
106.4 µs
135.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
with cache
packages/xcache/bench/x-mem-cache.bench.ts::XMemCache benchmarks with 88 kB
CodSpeed Performance Gauge
-21%
406.1 µs
511.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
devalue.deserialize(10 kB) - native types
packages/xcache/bench/serializer.bench.ts::Serializer benchmarks with devalue
CodSpeed Performance Gauge
-18%
535.8 µs
657 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
createStableHashOrThrow without array sorting
packages/stable-hash/bench/create-stable-hash.bench.ts::createStableHashOrThrow
CodSpeed Performance Gauge
-18%
253.9 µs
307.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
With memoization `MIntl.Locale()`
packages/memo-intl/bench/m-intl.locale.bench.ts::MIntl Locale benchmarks (1 instances)
CodSpeed Performance Gauge
-17%
70.9 µs
85.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original function
packages/xcache/bench/x-mem-cache.bench.ts::XMemCache benchmarks with 88 kB
CodSpeed Performance Gauge
-17%
233.2 µs
282.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
"redux":"5.0.1": 'isPlainObject(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values
CodSpeed Performance Gauge
-17%
45.5 µs
54.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
With memoization `MIntl.NumberFormatter()`
packages/memo-intl/bench/m-intl.number-formatter.bench.ts::MIntl NumberFormatter benchmarks (1 instances)
CodSpeed Performance Gauge
-16%
102.1 µs
121.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
devalue.deserialize(21.2 kB) - extended types
packages/xcache/bench/serializer.bench.ts::Serializer benchmarks with devalue
CodSpeed Performance Gauge
-14%
1.2 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
@httpx/time-lru.set() - compiled (dist)
packages/lru/bench/compare/lru-cache/set.bench.ts::LruCache.set() 10 items / maxSize: 10
CodSpeed Performance Gauge
-14%
37.5 µs
43.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
"immer/is-plain-object":"4.2.0": 'isPlainObject(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values
CodSpeed Performance Gauge
-14%
65 µs
75.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
superjson.deserialize(8.83 kB) - native types
packages/xcache/bench/serializer.bench.ts::Serializer benchmarks with superjson
CodSpeed Performance Gauge
-10%
234.6 µs
261 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
@httpx/base64.decode nodejs (original size: 1.4 kB)
packages/encode/bench/compare.decode.bench.ts::Compare base64 decode
CodSpeed Performance Gauge
+37%
90.7 µs
66.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
"is-plain-obj":"4.1.0": 'isPlainObj(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values
CodSpeed Performance Gauge
+34%
62.9 µs
47 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
"is-plain-object":"5.0.0": 'isPlainObject(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values
CodSpeed Performance Gauge
+31%
68.3 µs
52 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
"@httpx/plain-object": `isPlainObject(v)`
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values
CodSpeed Performance Gauge
+31%
63.9 µs
48.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Compressor('gzip').toUint8Array (original size: 10 kB)
packages/compress/bench/compress-uint8array.bench.ts::Compressor
CodSpeed Performance Gauge
+24%
2.3 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
createStableHashOrThrow with array sorting
packages/stable-hash/bench/create-stable-hash.bench.ts::createStableHashOrThrow
CodSpeed Performance Gauge
+24%
460.3 µs
372.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Compressor('gzip').toEncodedString/base64 (original size: 10 kB)
packages/compress/bench/compress-string.bench.ts::Compressor
CodSpeed Performance Gauge
+22%
2.3 ms
1.9 ms
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
b5e08b8
-36.06%
docs: changesets
e07693b
5 days ago
by belgattitude
-13.1%
revert: map.size is O(1)
bcc5396
5 days ago
by belgattitude
+12.41%
fix: tsdown in devDependencies
bde0d9b
5 days ago
by belgattitude
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs