k1LoW / runn

runn is a package/tool for running operations following a scenario.
https://runn.run
MIT License
417 stars 30 forks source link

Use patched pb33f/libopenapi-validator temporarily #893

Closed k1LoW closed 4 months ago

k1LoW commented 4 months ago

SSIA.

ref: #889 ref: https://github.com/pb33f/libopenapi-validator/pull/67

github-actions[bot] commented 4 months ago

BenchmarkManyRunbooks-4

main (-) #893 (c3868db) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 4,028,789,558 ns/op 3,916,298,343 ns/op -112,491,215 ns/op
Bytes allocated per iteration 1,792,857,144 B/op 1,792,083,392 B/op -773,752 B/op
Allocs per iteration 21,419,552 allocs/op 21,418,593 allocs/op -959 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#893](https://github.com/k1LoW/runn/pull/893) ([c3868db](https://github.com/k1LoW/runn/commit/c3868dba15d0d99d02457739d1dc0250fc73b38b)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkOpenAPI3-4

main (-) #893 (c3868db) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,410,499,508 ns/op 5,316,615,653 ns/op -93,883,855 ns/op
Bytes allocated per iteration 3,235,607,312 B/op 3,236,208,040 B/op 600,728 B/op
Allocs per iteration 31,168,412 allocs/op 31,187,603 allocs/op 19,191 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#893](https://github.com/k1LoW/runn/pull/893) ([c3868db](https://github.com/k1LoW/runn/commit/c3868dba15d0d99d02457739d1dc0250fc73b38b)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkSingleRunbook-4

main (-) #893 (c3868db) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 65,691,314 ns/op 64,513,458 ns/op -1,177,856 ns/op
Bytes allocated per iteration 60,298,610 B/op 60,313,795 B/op 15,185 B/op
Allocs per iteration 205,873 allocs/op 205,879 allocs/op 6 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#893](https://github.com/k1LoW/runn/pull/893) ([c3868db](https://github.com/k1LoW/runn/commit/c3868dba15d0d99d02457739d1dc0250fc73b38b)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

Reported by octocov

github-actions[bot] commented 4 months ago

Code Metrics Report

main (9576d89) #893 (c3868db) +/-
Coverage 65.9% 65.9% +0.0%
Code to Test Ratio 1:0.8 1:1.0 +0.2
Details ``` diff | | main (9576d89) | #893 (c3868db) | +/- | |--------------------|----------------|----------------|-------| + | Coverage | 65.9% | 65.9% | +0.0% | | Files | 71 | 71 | 0 | | Lines | 7612 | 7612 | 0 | + | Covered | 5017 | 5018 | +1 | + | Code to Test Ratio | 1:0.8 | 1:1.0 | +0.2 | | Code | 22244 | 25852 | +3608 | + | Test | 18552 | 26763 | +8211 | ```

Code coverage of files in pull request scope (81.1% → 81.1%)

Files Coverage +/-
coverage.go 79.5% 0.0%
http_validator.go 81.9% 0.0%

Reported by octocov

github-actions[bot] commented 4 months ago

BenchmarkManyRunbooks-4

main (-) #893 (4219325) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,845,325,193 ns/op 3,770,225,276 ns/op -75,099,917 ns/op
Bytes allocated per iteration 1,792,944,560 B/op 1,792,949,888 B/op 5,328 B/op
Allocs per iteration 21,419,530 allocs/op 21,419,932 allocs/op 402 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#893](https://github.com/k1LoW/runn/pull/893) ([4219325](https://github.com/k1LoW/runn/commit/42193258a497e2a14d184a0aa40e19aeddace8b0)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkOpenAPI3-4

main (-) #893 (4219325) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,602,806,714 ns/op 5,529,345,731 ns/op -73,460,983 ns/op
Bytes allocated per iteration 3,235,750,384 B/op 3,235,808,120 B/op 57,736 B/op
Allocs per iteration 31,167,769 allocs/op 31,168,815 allocs/op 1,046 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#893](https://github.com/k1LoW/runn/pull/893) ([4219325](https://github.com/k1LoW/runn/commit/42193258a497e2a14d184a0aa40e19aeddace8b0)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkSingleRunbook-4

main (-) #893 (4219325) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 66,442,198 ns/op 64,267,743 ns/op -2,174,455 ns/op
Bytes allocated per iteration 60,279,082 B/op 60,310,020 B/op 30,938 B/op
Allocs per iteration 205,859 allocs/op 205,877 allocs/op 18 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#893](https://github.com/k1LoW/runn/pull/893) ([4219325](https://github.com/k1LoW/runn/commit/42193258a497e2a14d184a0aa40e19aeddace8b0)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

Reported by octocov

github-actions[bot] commented 4 months ago

Code Metrics Report

main (9576d89) #893 (4219325) +/-
Coverage 65.9% 65.9% +0.0%
Code to Test Ratio 1:0.8 1:0.4 -0.4
Details ``` diff | | main (9576d89) | #893 (4219325) | +/- | |--------------------|----------------|----------------|-------| + | Coverage | 65.9% | 65.9% | +0.0% | | Files | 71 | 71 | 0 | | Lines | 7612 | 7612 | 0 | + | Covered | 5017 | 5018 | +1 | - | Code to Test Ratio | 1:0.8 | 1:0.4 | -0.4 | | Code | 22244 | 25852 | +3608 | - | Test | 18552 | 10250 | -8302 | ```

Code coverage of files in pull request scope (81.1% → 81.1%)

Files Coverage +/-
coverage.go 79.5% 0.0%
http_validator.go 81.9% 0.0%

Reported by octocov