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 deps #78

Closed vearutop closed 1 year ago

github-actions[bot] commented 1 year ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
YAML 6 495 (+1) 409 (+1) 36 50 0 16.3K (-18B)
github-actions[bot] commented 1 year ago

Go API Changes

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

Unit Test Coverage

total: (statements) 79.1%

Coverage of changed lines No changes in testable statements.
Coverage diff with base branch No changes in coverage.
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 72.3µs ± 2% 74.4µs ± 5% ~ (p=0.247 n=5+6) Schema_UnmarshalJSON-2 550µs ± 4% 577µs ± 5% ~ (p=0.065 n=6+6) Schema_MarshalJSON_raw-2 69.5µs ± 3% 68.7µs ± 5% ~ (p=0.818 n=6+6) Schema_MarshalJSON-2 224µs ± 7% 233µs ± 3% ~ (p=0.180 n=6+6) name old alloc/op new alloc/op delta Schema_UnmarshalJSON_raw-2 31.7kB ± 0% 31.7kB ± 0% ~ (p=0.857 n=6+6) Schema_UnmarshalJSON-2 184kB ± 0% 184kB ± 0% ~ (p=0.182 n=6+6) Schema_MarshalJSON_raw-2 21.9kB ± 0% 21.9kB ± 0% ~ (all equal) Schema_MarshalJSON-2 55.3kB ± 0% 55.3kB ± 0% ~ (p=0.459 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 74.4µs ± 5% Schema_UnmarshalJSON-2 577µs ± 5% Schema_MarshalJSON_raw-2 68.7µs ± 5% Schema_MarshalJSON-2 233µs ± 3% 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% ```
codecov[bot] commented 1 year ago

Codecov Report

Merging #78 (d24c7a8) into master (d2cd343) will not change coverage. The diff coverage is n/a.

:exclamation: Current head d24c7a8 differs from pull request most recent head e2cbf05. Consider uploading reports for the commit e2cbf05 to get more accurate results

@@           Coverage Diff           @@
##           master      #78   +/-   ##
=======================================
  Coverage   73.33%   73.33%           
=======================================
  Files           6        6           
  Lines        1065     1065           
=======================================
  Hits          781      781           
  Misses        216      216           
  Partials       68       68           
Flag Coverage Δ
unittests 73.33% <ø> (ø)

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