hckhanh
what-the-fetch
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Update `fast-url` dependency to version 6.0.2 to enhance performance
#42
Merged
Comparing
optimize-deps
(
84398c0
) with
main
(
b5be69a
)
CodSpeed Performance Gauge
+12%
Improvements
2
Untouched
20
Skipped
157
Benchmarks
Skipped (157)
Improved
GET request with params and query
benchmark/createFetch.bench.ts::createFetch benchmarks
CodSpeed Performance Gauge
+12%
223.3 µs
198.9 µs
Mixed: prefix with path params and query
benchmark/createFetch.bench.ts::HTTP method prefix benchmarks
CodSpeed Performance Gauge
+10%
213.7 µs
194.1 µs
Passed
POST request with body
benchmark/createFetch.bench.ts::createFetch benchmarks
CodSpeed Performance Gauge
+3%
123.2 µs
120.1 µs
PUT request with @put prefix and params
benchmark/createFetch.bench.ts::HTTP method prefix benchmarks
CodSpeed Performance Gauge
+3%
178.6 µs
174.1 µs
GET request with shared init
benchmark/createFetch.bench.ts::createFetch benchmarks
CodSpeed Performance Gauge
+3%
145.6 µs
142 µs
GET request without options
benchmark/createFetch.bench.ts::createFetch benchmarks
CodSpeed Performance Gauge
+3%
121.1 µs
118 µs
GET request without prefix (default)
benchmark/createFetch.bench.ts::HTTP method prefix benchmarks
CodSpeed Performance Gauge
+3%
119 µs
116.1 µs
GET request with @get prefix
benchmark/createFetch.bench.ts::HTTP method prefix benchmarks
CodSpeed Performance Gauge
+2%
126.6 µs
123.5 µs
PATCH request with @patch prefix
benchmark/createFetch.bench.ts::HTTP method prefix benchmarks
CodSpeed Performance Gauge
+2%
176.4 µs
172.2 µs
DELETE request with @delete prefix
benchmark/createFetch.bench.ts::HTTP method prefix benchmarks
CodSpeed Performance Gauge
+2%
164.8 µs
160.9 µs
POST request with @post prefix
benchmark/createFetch.bench.ts::HTTP method prefix benchmarks
CodSpeed Performance Gauge
+2%
145.4 µs
142.2 µs
POST request without prefix (smart default with body)
benchmark/createFetch.bench.ts::HTTP method prefix benchmarks
CodSpeed Performance Gauge
+1%
136.2 µs
134.6 µs
parse path without prefix
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
15.7 µs
15.7 µs
parse path without prefix with params
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
15.8 µs
15.8 µs
parse @get without path
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
19.5 µs
19.5 µs
parse @delete prefix
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
19.7 µs
19.6 µs
parse case-insensitive @GeT prefix
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
19.7 µs
19.7 µs
parse @patch prefix
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
19.7 µs
19.7 µs
parse @post prefix
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
20.3 µs
20.3 µs
parse @put prefix with params
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
20.3 µs
20.3 µs
parse complex path with @post prefix
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
25.5 µs
25.4 µs
parse @get prefix
benchmark/parseMethodFromPath.bench.ts::parseMethodFromPath benchmarks
CodSpeed Performance Gauge
0%
31.7 µs
31.7 µs
Commits
Click on a commit to change the comparison range
Base
main
b5be69a
+12.23%
Update `fast-url` dependency to version 6.0.2 across project files
b9526ff
2 days ago
by hckhanh
+0.04%
Fix test case to use trailing slash in `fetchMock` URL assertion.
84398c0
2 days ago
by hckhanh
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs