Avatar for the go-fuego user
go-fuego
fuego
BlogDocsChangelog

feat: allow custom content-type serdes for each endpoint

#524
Comparing
hamilton-earthscope:serdes
(
f220e19
) with
main
(
d78cb0f
)
CodSpeed Performance Gauge
-18%
Regression
2
Untouched
17

Benchmarks

19 total
fuego_server_and_fuego_post
net_http_mux_test.go::BenchmarkRequest
CodSpeed Performance Gauge
-18%
57.9 µs70.2 µs
pointer_to_nil
serialization_test.go::BenchmarkOutTransform
CodSpeed Performance Gauge
-14%
72 ns84 ns
std_server_and_std_post
net_http_mux_test.go::BenchmarkRequest
CodSpeed Performance Gauge
+6%
19.9 µs18.7 µs
string_body
ctx_test.go::BenchmarkContext_Body
CodSpeed Performance Gauge
+4%
19.3 µs18.5 µs
fuego_server_and_std_post
net_http_mux_test.go::BenchmarkRequest
CodSpeed Performance Gauge
+3%
61.4 µs59.8 µs
value
serialization_test.go::BenchmarkOutTransform
CodSpeed Performance Gauge
+2%
223 ns218 ns
BenchmarkServer_generateOpenAPI
openapi_test.go
CodSpeed Performance Gauge
+2%
62.5 ms61.3 ms
BenchmarkHTTPError_PublicError
errors_test.go
CodSpeed Performance Gauge
0%
420 ns420 ns
valid_JSON_body_cache
ctx_test.go::BenchmarkContext_Body
CodSpeed Performance Gauge
0%
14 ns14 ns
empty
params_test.go::BenchmarkParsePathParams
CodSpeed Performance Gauge
0%
23 ns23 ns
BenchmarkReadString
deserialization_test.go
CodSpeed Performance Gauge
0%
516 ns516 ns
BenchmarkRender
html_test.go
CodSpeed Performance Gauge
0%
93.9 µs94 µs
camelToHuman
net_http_mux_test.go::BenchmarkCamelToHuman
CodSpeed Performance Gauge
0%
319 ns320 ns
several_path_params
params_test.go::BenchmarkParsePathParams
CodSpeed Performance Gauge
0%
1.6 µs1.6 µs
pointer_to_value
serialization_test.go::BenchmarkOutTransform
CodSpeed Performance Gauge
0%
264 ns265 ns
BenchmarkRoutesRegistration
openapi_test.go
CodSpeed Performance Gauge
-2%
6.8 ms6.9 ms
valid_JSON_body
ctx_test.go::BenchmarkContext_Body
CodSpeed Performance Gauge
-2%
18.4 µs18.8 µs
invalid_JSON_body
ctx_test.go::BenchmarkContext_Body
CodSpeed Performance Gauge
-3%
18.9 µs19.5 µs
BenchmarkReadJSON
deserialization_test.go
CodSpeed Performance Gauge
-4%
4.4 µs4.6 µs

Commits

Click on a commit to change the comparison range
Base
main
d78cb0f
-17.57%
feat: custom de/serialization per content-type
f220e19
10 months ago
by hamilton-earthscope
© 2026 CodSpeed Technology
Home Terms Privacy Docs