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

fix: use LastIndex for closing bracket in transformTypeName

#696Merged
Comparing
0-don:fix/transform-type-name-slice-generics
(
d2e11bd
) with
main
(
4b5547c
)
CodSpeed Performance Gauge
-24%
Improvement
2
Regression
1
Untouched
16

Benchmarks

19 total
fuego_server_and_std_post
net_http_mux_test.go::BenchmarkRequest
CodSpeed Performance Gauge
-24%
49.9 µs65.6 µs
fuego_server_and_fuego_post
net_http_mux_test.go::BenchmarkRequest
CodSpeed Performance Gauge
+20%
65.7 µs54.7 µs
camelToHuman
net_http_mux_test.go::BenchmarkCamelToHuman
CodSpeed Performance Gauge
+16%
368 ns316 ns
value
serialization_test.go::BenchmarkOutTransform
CodSpeed Performance Gauge
0%
231 ns230 ns
valid_JSON_body
ctx_test.go::BenchmarkContext_Body
CodSpeed Performance Gauge
0%
18.2 µs18.2 µs
BenchmarkHTTPError_PublicError
errors_test.go
CodSpeed Performance Gauge
0%
420 ns420 ns
BenchmarkReadString
deserialization_test.go
CodSpeed Performance Gauge
0%
528 ns528 ns
empty
params_test.go::BenchmarkParsePathParams
CodSpeed Performance Gauge
0%
23 ns23 ns
valid_JSON_body_cache
ctx_test.go::BenchmarkContext_Body
CodSpeed Performance Gauge
0%
14 ns14 ns
string_body
ctx_test.go::BenchmarkContext_Body
CodSpeed Performance Gauge
0%
18.1 µs18.1 µs
BenchmarkRender
html_test.go
CodSpeed Performance Gauge
-1%
93.4 µs93.9 µs
BenchmarkServer_generateOpenAPI
openapi_test.go
CodSpeed Performance Gauge
-1%
62.1 ms62.7 ms
pointer_to_nil
serialization_test.go::BenchmarkOutTransform
CodSpeed Performance Gauge
-1%
72 ns73 ns
pointer_to_value
serialization_test.go::BenchmarkOutTransform
CodSpeed Performance Gauge
-1%
266 ns270 ns
BenchmarkRoutesRegistration
openapi_test.go
CodSpeed Performance Gauge
-2%
7.1 ms7.2 ms
BenchmarkReadJSON
deserialization_test.go
CodSpeed Performance Gauge
-2%
4.6 µs4.7 µs
invalid_JSON_body
ctx_test.go::BenchmarkContext_Body
CodSpeed Performance Gauge
-2%
18.3 µs18.7 µs
several_path_params
params_test.go::BenchmarkParsePathParams
CodSpeed Performance Gauge
-3%
1.6 µs1.7 µs
std_server_and_std_post
net_http_mux_test.go::BenchmarkRequest
CodSpeed Performance Gauge
-5%
19.1 µs20.1 µs

Commits

Click on a commit to change the comparison range
Base
main
4b5547c
-23.86%
fix: preserve type modifiers when stripping package paths in transformTypeName
d2e11bd
28 days ago
by 0-don
© 2026 CodSpeed Technology
Home Terms Privacy Docs