k1LoW / runn

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

Add `--grpc-buf-lock` `--grpc-buf-config` `--grpc-buf-module` for gRPC runner. #900

Closed k1LoW closed 4 months ago

k1LoW commented 4 months ago

SSIA.

github-actions[bot] commented 4 months ago

BenchmarkManyRunbooks-4

main (-) #900 (7394f20) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 4,044,537,211 ns/op 3,928,908,817 ns/op -115,628,394 ns/op
Bytes allocated per iteration 1,792,117,208 B/op 1,792,761,384 B/op 644,176 B/op
Allocs per iteration 21,407,015 allocs/op 21,407,611 allocs/op 596 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#900](https://github.com/k1LoW/runn/pull/900) ([7394f20](https://github.com/k1LoW/runn/commit/7394f20ce77eae2b384ee0d954379dd26f35edf2)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #900 (7394f20) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,201,277,581 ns/op 5,359,923,672 ns/op 158,646,091 ns/op
Bytes allocated per iteration 2,946,846,112 B/op 2,944,880,968 B/op -1,965,144 B/op
Allocs per iteration 29,354,057 allocs/op 29,263,530 allocs/op -90,527 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#900](https://github.com/k1LoW/runn/pull/900) ([7394f20](https://github.com/k1LoW/runn/commit/7394f20ce77eae2b384ee0d954379dd26f35edf2)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #900 (7394f20) +/-
Number of iterations 16 16 0
Nanoseconds per iteration 66,296,887 ns/op 66,637,606 ns/op 340,719 ns/op
Bytes allocated per iteration 60,319,195 B/op 60,297,813 B/op -21,382 B/op
Allocs per iteration 205,790 allocs/op 205,785 allocs/op -5 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#900](https://github.com/k1LoW/runn/pull/900) ([7394f20](https://github.com/k1LoW/runn/commit/7394f20ce77eae2b384ee0d954379dd26f35edf2)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (6f7013f) #900 (7394f20) +/-
Coverage 65.9% 65.6% -0.3%
Code to Test Ratio 1:0.5 1:0.5 -0.0
Details ``` diff | | main (6f7013f) | #900 (7394f20) | +/- | |--------------------|----------------|----------------|-------| - | Coverage | 65.9% | 65.6% | -0.3% | | Files | 71 | 71 | 0 | | Lines | 7638 | 7679 | +41 | + | Covered | 5031 | 5037 | +6 | - | Code to Test Ratio | 1:0.5 | 1:0.5 | -0.0 | | Code | 22294 | 22362 | +68 | | Test | 10252 | 10252 | 0 | ```

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

Files Coverage +/-
book.go 78.2% +0.2%
cmd/coverage.go 0.0% 0.0%
cmd/loadt.go 0.0% 0.0%
cmd/run.go 0.0% 0.0%
flags/flags.go 0.0% 0.0%
grpc.go 72.9% 0.0%
operator.go 79.3% -0.1%
option.go 62.2% -2.1%

Reported by octocov