belgattitude
httpx
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add tiny lru cache
#1877
Comparing
add-tiny-lru-cache
(
1778a16
) with
main
(
679b8bf
)
CodSpeed Performance Gauge
0%
Untouched
24
Benchmarks
Passed
@httpx/lru.get() - ts files (dev)
packages/lru/bench/compare/lru-cache/get.bench.ts::LRUCache.get() - 1000 items / maxSize: 500::@httpx/lru.get() - ts files (dev)
CodSpeed Performance Gauge
+8%
1.1 ms
1 ms
lru-cache@11.0.2.set()
packages/lru/bench/compare/lru-cache/set.bench.ts::LRUCache.set() 1000 items / maxSize: 500::lru-cache@11.0.2.set()
CodSpeed Performance Gauge
+1%
2.8 ms
2.8 ms
@httpx/lru.get() - compiled (dist)
packages/lru/bench/compare/lru-cache/get.bench.ts::LRUCache.get() - 1000 items / maxSize: 500::@httpx/lru.get() - compiled (dist)
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
quick-lru@7.0.0.get()
packages/lru/bench/compare/lru-cache/get.bench.ts::LRUCache.get() - 1000 items / maxSize: 500::quick-lru@7.0.0.get()
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
lru-cache@11.0.2.get()
packages/lru/bench/compare/lru-cache/get.bench.ts::LRUCache.get() - 1000 items / maxSize: 500::lru-cache@11.0.2.get()
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
@httpx/lru.set() - ts files (dev)
packages/lru/bench/compare/lru-cache/set.bench.ts::LRUCache.set() 1000 items / maxSize: 500::@httpx/lru.set() - ts files (dev)
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
With memoization `MIntl.DateFormatter()`
packages/memo-intl/bench/m-intl.date-formatter.bench.ts::MIntl DateFormatter benchmarks::With memoization `MIntl.DateFormatter()`
CodSpeed Performance Gauge
0%
12.4 ms
12.3 ms
DfsTreeSearch.findOne(id_0) over 10_000
packages/treeu/bench/search.bench.ts::Bench search (10_000 entries)::DfsTreeSearch.findOne(id_0) over 10_000
CodSpeed Performance Gauge
0%
52.8 µs
52.7 µs
quick-lru@7.0.0.set()
packages/lru/bench/compare/lru-cache/set.bench.ts::LRUCache.set() 1000 items / maxSize: 500::quick-lru@7.0.0.set()
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
@httpx/lru.set() - compiled (dist)
packages/lru/bench/compare/lru-cache/set.bench.ts::LRUCache.set() 1000 items / maxSize: 500::@httpx/lru.set() - compiled (dist)
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
DfsTreeSearch.findOne(id_NotExists) over 10_000
packages/treeu/bench/search.bench.ts::Bench search (10_000 entries)::DfsTreeSearch.findOne(id_NotExists) over 10_000
CodSpeed Performance Gauge
0%
7.3 ms
7.3 ms
FlatTreeWsMapper.toTreeNodesOrThrow
packages/treeu/bench/mapper.bench.ts::Bench mapper (10_000 entries)::FlatTreeWsMapper.toTreeNodesOrThrow
CodSpeed Performance Gauge
0%
82.7 ms
82.7 ms
DfsTreeSearch.findOne(id_5000) over 10_000
packages/treeu/bench/search.bench.ts::Bench search (10_000 entries)::DfsTreeSearch.findOne(id_5000) over 10_000
CodSpeed Performance Gauge
0%
3.8 ms
3.8 ms
DfsTreeSearch.findOne(id_1000) over 10_000
packages/treeu/bench/search.bench.ts::Bench search (10_000 entries)::DfsTreeSearch.findOne(id_1000) over 10_000
CodSpeed Performance Gauge
0%
800.4 µs
800.2 µs
lodash-es:"4.17.21": '_.isPlainObject(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values::lodash-es:"4.17.21": '_.isPlainObject(v)'
CodSpeed Performance Gauge
0%
308 µs
308 µs
Without memoization `new Intl.DateFormatter()`
packages/memo-intl/bench/m-intl.date-formatter.bench.ts::MIntl DateFormatter benchmarks::Without memoization `new Intl.DateFormatter()`
CodSpeed Performance Gauge
0%
246.3 ms
246.8 ms
With memoization `MIntl.NumberFormatter()`
packages/memo-intl/bench/m-intl.number-formatter.bench.ts::MIntl NumberFormatter benchmarks::With memoization `MIntl.NumberFormatter()`
CodSpeed Performance Gauge
0%
90.4 ms
90.6 ms
Without memoization `new Intl.NumberFormatter()`
packages/memo-intl/bench/m-intl.number-formatter.bench.ts::MIntl NumberFormatter benchmarks::Without memoization `new Intl.NumberFormatter()`
CodSpeed Performance Gauge
0%
1.2 s
1.2 s
"redux":"5.0.1": 'isPlainObject(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values::"redux":"5.0.1": 'isPlainObject(v)'
CodSpeed Performance Gauge
0%
70.5 µs
70.8 µs
"@sindresorhus/is":"7.0.1": 'is.plainObject(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values::"@sindresorhus/is":"7.0.1": 'is.plainObject(v)'
CodSpeed Performance Gauge
0%
72.2 µs
72.5 µs
"@httpx/plain-object": `isPlainObject(v)`
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values::"@httpx/plain-object": `isPlainObject(v)`
CodSpeed Performance Gauge
0%
61.6 µs
61.8 µs
"is-plain-obj":"4.1.0": 'isPlainObj(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values::"is-plain-obj":"4.1.0": 'isPlainObj(v)'
CodSpeed Performance Gauge
0%
67.1 µs
67.3 µs
"es-toolkit":"1.32.0": 'isPlainObject(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values::"es-toolkit":"1.32.0": 'isPlainObject(v)'
CodSpeed Performance Gauge
0%
67.1 µs
67.4 µs
"is-plain-object":"5.0.0": 'isPlainObject(v)'
packages/plain-object/bench/comparative.bench.ts::Compare calling isPlainObject with 110x mixed types values::"is-plain-object":"5.0.0": 'isPlainObject(v)'
CodSpeed Performance Gauge
0%
69.5 µs
69.9 µs
Commits
Click on a commit to change the comparison range
Base
main
679b8bf
+0.31%
Merge branch 'main' into add-tiny-lru-cache
1778a16
8 months ago
by belgattitude
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs