Avatar for the vadimpiven user
vadimpiven
node_reqwest
BlogDocsChangelog

refactor: code-quality pass — crate split, undici 8 parity, benches

#154Merged
Merging
refactor/code-quality-pass
into
main
CodSpeed Performance Gauge
N/A
New
15

Benchmarks

15 total
new Agent() default options
packages/node/benchmarks/glue.bench.ts::Agent construction
CodSpeed Performance Gauge
N/A
N/A12.5 ms
new Agent({ allowH2, timeouts, proxy })
packages/node/benchmarks/glue.bench.ts::Agent construction
CodSpeed Performance Gauge
N/A
N/A12.1 ms
node-reqwest.Agent
packages/node/benchmarks/http1.bench.ts::HTTP/1 GET dispatch
CodSpeed Performance Gauge
N/A
N/A62.4 ms
undici.Agent
packages/node/benchmarks/http2.bench.ts::HTTP/2 GET dispatch
CodSpeed Performance Gauge
N/A
N/A50.8 ms
node-reqwest.Agent
packages/node/benchmarks/http2.bench.ts::HTTP/2 GET dispatch
CodSpeed Performance Gauge
N/A
N/A50.7 ms
undici.Agent
packages/node/benchmarks/http1.bench.ts::HTTP/1 GET dispatch
CodSpeed Performance Gauge
N/A
N/A28.4 ms
record + abort in onRequestStart
packages/node/benchmarks/glue.bench.ts::dispatch() pre-flight (sync path)
CodSpeed Performance Gauge
N/A
N/A110.1 µs
node-reqwest.Agent
packages/node/benchmarks/http2-post.bench.ts::HTTP/2 POST stream
CodSpeed Performance Gauge
N/A
N/A51.6 ms
createUndiciError — UND_ERR_RESPONSE with body
packages/node/benchmarks/glue.bench.ts::error class factory
CodSpeed Performance Gauge
N/A
N/A134.9 µs
createUndiciError — UND_ERR_SOCKET
packages/node/benchmarks/glue.bench.ts::error class factory
CodSpeed Performance Gauge
N/A
N/A91 µs
Record<string, string> input
packages/node/benchmarks/glue.bench.ts::header serialization shapes
CodSpeed Performance Gauge
N/A
N/A25.9 µs
Array<string> input
packages/node/benchmarks/glue.bench.ts::header serialization shapes
CodSpeed Performance Gauge
N/A
N/A16.7 µs
node-reqwest.Agent
packages/node/benchmarks/http1-post.bench.ts::HTTP/1 POST stream
CodSpeed Performance Gauge
N/A
N/A66.6 ms
undici.Agent
packages/node/benchmarks/http1-post.bench.ts::HTTP/1 POST stream
CodSpeed Performance Gauge
N/A
N/A38.8 ms
undici.Agent
packages/node/benchmarks/http2-post.bench.ts::HTTP/2 POST stream
CodSpeed Performance Gauge
N/A
N/A95.9 ms

Commits

Click on a commit to change the comparison range
No baseline data is yet availableOnce your main branch has generated a first performance report, you will see the list of commits and their performance impact here.
© 2026 CodSpeed Technology
Home Terms Privacy Docs