k1LoW / runn

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

Validators are provided for each HTTP runner. #890

Closed k1LoW closed 6 months ago

k1LoW commented 6 months ago

ref: #889

github-actions[bot] commented 6 months ago

BenchmarkManyRunbooks-4

main (-) #890 (392326e) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 4,025,565,445 ns/op 3,820,524,370 ns/op -205,041,075 ns/op
Bytes allocated per iteration 1,792,400,552 B/op 1,792,241,736 B/op -158,816 B/op
Allocs per iteration 21,407,907 allocs/op 21,406,957 allocs/op -950 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#890](https://github.com/k1LoW/runn/pull/890) ([392326e](https://github.com/k1LoW/runn/commit/392326e69532ead98b44a7fbf0a772b449fc59e9)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #890 (392326e) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,412,853,884 ns/op 5,443,360,451 ns/op 30,506,567 ns/op
Bytes allocated per iteration 3,230,006,632 B/op 3,230,095,016 B/op 88,384 B/op
Allocs per iteration 31,109,807 allocs/op 31,109,873 allocs/op 66 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#890](https://github.com/k1LoW/runn/pull/890) ([392326e](https://github.com/k1LoW/runn/commit/392326e69532ead98b44a7fbf0a772b449fc59e9)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #890 (392326e) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 65,977,298 ns/op 66,030,392 ns/op 53,094 ns/op
Bytes allocated per iteration 60,308,145 B/op 60,298,173 B/op -9,972 B/op
Allocs per iteration 205,797 allocs/op 205,791 allocs/op -6 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#890](https://github.com/k1LoW/runn/pull/890) ([392326e](https://github.com/k1LoW/runn/commit/392326e69532ead98b44a7fbf0a772b449fc59e9)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 6 months ago

Code Metrics Report

main (7c7f8e2) #890 (392326e) +/-
Coverage 65.9% 65.9% +0.0%
Code to Test Ratio 1:0.8 1:0.8 -0.0
Details ``` diff | | main (7c7f8e2) | #890 (392326e) | +/- | |--------------------|----------------|----------------|-------| + | Coverage | 65.9% | 65.9% | +0.0% | | Files | 71 | 71 | 0 | | Lines | 7606 | 7610 | +4 | + | Covered | 5011 | 5016 | +5 | - | Code to Test Ratio | 1:0.8 | 1:0.8 | -0.0 | | Code | 22236 | 22242 | +6 | | Test | 18552 | 18552 | 0 | ```

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

Files Coverage +/-
http_validator.go 81.7% +0.5%

Reported by octocov

github-actions[bot] commented 6 months ago

BenchmarkManyRunbooks-4

main (-) #890 (3530ad6) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,837,791,533 ns/op 3,973,732,468 ns/op 135,940,935 ns/op
Bytes allocated per iteration 1,792,033,616 B/op 1,792,389,784 B/op 356,168 B/op
Allocs per iteration 21,407,221 allocs/op 21,407,458 allocs/op 237 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#890](https://github.com/k1LoW/runn/pull/890) ([3530ad6](https://github.com/k1LoW/runn/commit/3530ad61f2f8448ac41e7f47139dcd5237706335)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #890 (3530ad6) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,672,257,649 ns/op 13,472,147,158 ns/op 7,799,889,509 ns/op
Bytes allocated per iteration 3,230,075,056 B/op 9,462,861,944 B/op 6,232,786,888 B/op
Allocs per iteration 31,110,144 allocs/op 97,610,348 allocs/op 66,500,204 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#890](https://github.com/k1LoW/runn/pull/890) ([3530ad6](https://github.com/k1LoW/runn/commit/3530ad61f2f8448ac41e7f47139dcd5237706335)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #890 (3530ad6) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 66,730,558 ns/op 68,597,953 ns/op 1,867,395 ns/op
Bytes allocated per iteration 60,304,790 B/op 60,312,724 B/op 7,934 B/op
Allocs per iteration 205,779 allocs/op 205,774 allocs/op -5 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#890](https://github.com/k1LoW/runn/pull/890) ([3530ad6](https://github.com/k1LoW/runn/commit/3530ad61f2f8448ac41e7f47139dcd5237706335)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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