swaggest / jsonschema-go

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

Update CI #69

Closed vearutop closed 1 year ago

github-actions[bot] commented 1 year ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Markdown 4 (+3) 216 (+41) 176 (+31) 0 40 (+10) 0 10.9K (+937B)
YAML 6 494 (+9) 408 36 50 (+9) 0 16.3K (+339B)
github-actions[bot] commented 1 year ago

Go API Changes

# summary
Inferred base version: v0.3.43
Suggested version: v0.3.44
github-actions[bot] commented 1 year ago

Unit Test Coverage

total: (statements) 78.2%

Coverage of changed lines No changes in testable statements.
Coverage diff with base branch No changes in coverage.
codecov[bot] commented 1 year ago

Codecov Report

Merging #69 (355f201) into master (6349dbf) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #69   +/-   ##
=======================================
  Coverage   72.21%   72.21%           
=======================================
  Files           6        6           
  Lines        1040     1040           
=======================================
  Hits          751      751           
  Misses        219      219           
  Partials       70       70           
Flag Coverage Δ
unittests 72.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

github-actions[bot] commented 1 year ago

Benchmark Result

Benchmark diff with base branch ``` name old time/op new time/op delta Schema_UnmarshalJSON_raw-2 75.2µs ± 8% 73.5µs ± 0% ~ (p=0.699 n=6+6) Schema_UnmarshalJSON-2 597µs ± 0% 599µs ± 1% ~ (p=0.052 n=5+6) Schema_MarshalJSON_raw-2 72.1µs ± 0% 71.7µs ± 1% ~ (p=0.065 n=6+6) Schema_MarshalJSON-2 240µs ± 1% 241µs ± 0% ~ (p=0.690 n=5+5) name old alloc/op new alloc/op delta Schema_UnmarshalJSON_raw-2 31.7kB ± 0% 31.7kB ± 0% ~ (p=0.619 n=6+6) Schema_UnmarshalJSON-2 184kB ± 0% 184kB ± 0% ~ (all equal) Schema_MarshalJSON_raw-2 21.9kB ± 0% 21.9kB ± 0% ~ (p=0.267 n=4+6) Schema_MarshalJSON-2 55.3kB ± 0% 55.3kB ± 0% ~ (p=0.061 n=6+6) name old allocs/op new allocs/op delta Schema_UnmarshalJSON_raw-2 457 ± 0% 457 ± 0% ~ (all equal) Schema_UnmarshalJSON-2 2.00k ± 0% 2.00k ± 0% ~ (all equal) Schema_MarshalJSON_raw-2 484 ± 0% 484 ± 0% ~ (all equal) Schema_MarshalJSON-2 477 ± 0% 477 ± 0% ~ (all equal) ```
Benchmark result ``` name time/op Schema_UnmarshalJSON_raw-2 73.5µs ± 0% Schema_UnmarshalJSON-2 599µs ± 1% Schema_MarshalJSON_raw-2 71.7µs ± 1% Schema_MarshalJSON-2 241µs ± 0% name alloc/op Schema_UnmarshalJSON_raw-2 31.7kB ± 0% Schema_UnmarshalJSON-2 184kB ± 0% Schema_MarshalJSON_raw-2 21.9kB ± 0% Schema_MarshalJSON-2 55.3kB ± 0% name allocs/op Schema_UnmarshalJSON_raw-2 457 ± 0% Schema_UnmarshalJSON-2 2.00k ± 0% Schema_MarshalJSON_raw-2 484 ± 0% Schema_MarshalJSON-2 477 ± 0% ```