swaggest / jsonschema-go

JSON Schema mapping for Go
https://pkg.go.dev/github.com/swaggest/jsonschema-go
MIT License
102 stars 13 forks source link

Update CI #118

Closed vearutop closed 1 week ago

github-actions[bot] commented 1 week ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
YAML 6 492 (-8) 406 (-8) 36 50 0 16.2K (-213B)
github-actions[bot] commented 1 week ago

Go API Changes

# summary
Inferred base version: v0.3.70
Suggested version: v0.4.0
github-actions[bot] commented 1 week ago

Unit Test Coverage

total: (statements) 80.4%

Coverage of changed lines No changes in testable statements.
Coverage diff with base branch No changes in coverage.
github-actions[bot] commented 1 week ago

Benchmark Result

Benchmark diff with base branch ``` name old time/op new time/op delta Schema_UnmarshalJSON_raw-4 59.9µs ± 0% 60.2µs ± 1% ~ (p=0.095 n=5+5) Schema_UnmarshalJSON-4 479µs ± 1% 480µs ± 1% ~ (p=0.589 n=6+6) Schema_MarshalJSON_raw-4 43.5µs ± 0% 43.8µs ± 1% +0.81% (p=0.015 n=6+6) Schema_MarshalJSON-4 183µs ± 0% 183µs ± 1% ~ (p=0.792 n=5+6) name old alloc/op new alloc/op delta Schema_UnmarshalJSON_raw-4 31.7kB ± 0% 31.7kB ± 0% -0.01% (p=0.004 n=5+6) Schema_UnmarshalJSON-4 180kB ± 0% 180kB ± 0% ~ (all equal) Schema_MarshalJSON_raw-4 14.6kB ± 0% 14.6kB ± 0% ~ (p=1.000 n=6+6) Schema_MarshalJSON-4 53.9kB ± 0% 53.9kB ± 0% ~ (p=0.593 n=6+6) name old allocs/op new allocs/op delta Schema_UnmarshalJSON_raw-4 457 ± 0% 457 ± 0% ~ (all equal) Schema_UnmarshalJSON-4 1.85k ± 0% 1.85k ± 0% ~ (all equal) Schema_MarshalJSON_raw-4 370 ± 0% 370 ± 0% ~ (all equal) Schema_MarshalJSON-4 468 ± 0% 468 ± 0% ~ (all equal) ```
Benchmark result ``` name time/op Schema_UnmarshalJSON_raw-4 60.2µs ± 1% Schema_UnmarshalJSON-4 480µs ± 1% Schema_MarshalJSON_raw-4 43.8µs ± 1% Schema_MarshalJSON-4 183µs ± 1% name alloc/op Schema_UnmarshalJSON_raw-4 31.7kB ± 0% Schema_UnmarshalJSON-4 180kB ± 0% Schema_MarshalJSON_raw-4 14.6kB ± 0% Schema_MarshalJSON-4 53.9kB ± 0% name allocs/op Schema_UnmarshalJSON_raw-4 457 ± 0% Schema_UnmarshalJSON-4 1.85k ± 0% Schema_MarshalJSON_raw-4 370 ± 0% Schema_MarshalJSON-4 468 ± 0% ```