hckhanh
what-the-fetch
BlogDocsChangelog

Add HTTP method prefix notation (@get/path, @post/path) with smart defaults

#36
Comparing
copilot/add-http-method-declaration
(
8ad4a47
) with
main
(
b7165f9
)
CodSpeed Performance Gauge
-4%
Untouched
4
Skipped
157

Benchmarks

Skipped (157)

Passed

GET request with params and query
benchmark/createFetch.bench.ts::createFetch benchmarks
CodSpeed Performance Gauge
-3%
213.8 µs220.7 µs
GET request without options
benchmark/createFetch.bench.ts::createFetch benchmarks
CodSpeed Performance Gauge
-4%
115.2 µs120.6 µs
GET request with shared init
benchmark/createFetch.bench.ts::createFetch benchmarks
CodSpeed Performance Gauge
-5%
137.8 µs144.5 µs
POST request with body
benchmark/createFetch.bench.ts::createFetch benchmarks
CodSpeed Performance Gauge
-5%
116.4 µs122.1 µs

Commits

Click on a commit to change the comparison range
Base
main
b7165f9
-4.28%
Add HTTP method prefix feature with @method/path notation Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>
cc1c3a9
15 hours ago
by Copilot
+0.03%
Update src/index.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
33a240e
10 hours ago
by hckhanh
0%
[autofix.ci] apply automated fixes
54d8829
10 hours ago
by autofix-ci[bot]
+0.03%
Fix tests to match default method behavior (GET/POST based on body) Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>
8ad4a47
10 hours ago
by Copilot
© 2025 CodSpeed Technology
Home Terms Privacy Docs