k1LoW / runn

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

Support Buf ecosystem #908

Closed k1LoW closed 4 months ago

k1LoW commented 4 months ago

SSIA.

github-actions[bot] commented 4 months ago

BenchmarkManyRunbooks-4

main (-) #908 (9c6a806) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,856,507,208 ns/op 3,989,270,457 ns/op 132,763,249 ns/op
Bytes allocated per iteration 1,792,303,560 B/op 1,792,475,464 B/op 171,904 B/op
Allocs per iteration 21,406,439 allocs/op 21,405,928 allocs/op -511 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#908](https://github.com/k1LoW/runn/pull/908) ([9c6a806](https://github.com/k1LoW/runn/commit/9c6a806d00d912e3c6d55c65f873b7f0f697ed54)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #908 (9c6a806) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,218,223,329 ns/op 5,116,086,160 ns/op -102,137,169 ns/op
Bytes allocated per iteration 2,945,719,416 B/op 2,945,193,384 B/op -526,032 B/op
Allocs per iteration 29,276,666 allocs/op 29,268,728 allocs/op -7,938 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#908](https://github.com/k1LoW/runn/pull/908) ([9c6a806](https://github.com/k1LoW/runn/commit/9c6a806d00d912e3c6d55c65f873b7f0f697ed54)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #908 (9c6a806) +/-
Number of iterations 16 16 0
Nanoseconds per iteration 66,914,253 ns/op 69,062,926 ns/op 2,148,673 ns/op
Bytes allocated per iteration 60,306,021 B/op 60,329,367 B/op 23,346 B/op
Allocs per iteration 205,780 allocs/op 205,799 allocs/op 19 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#908](https://github.com/k1LoW/runn/pull/908) ([9c6a806](https://github.com/k1LoW/runn/commit/9c6a806d00d912e3c6d55c65f873b7f0f697ed54)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (0f97e31) #908 (9c6a806) +/-
Coverage 65.6% 65.4% -0.2%
Code to Test Ratio 1:0.5 1:0.5 -0.0
Details ``` diff | | main (0f97e31) | #908 (9c6a806) | +/- | |--------------------|----------------|----------------|-------| - | Coverage | 65.6% | 65.4% | -0.2% | | Files | 71 | 71 | 0 | | Lines | 7685 | 7723 | +38 | + | Covered | 5041 | 5053 | +12 | - | Code to Test Ratio | 1:0.5 | 1:0.5 | -0.0 | | Code | 22370 | 22432 | +62 | | Test | 10483 | 10483 | 0 | ```

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

Files Coverage +/-
book.go 78.1% -0.1%
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 73.9% +1.0%
operator.go 79.7% +0.3%
option.go 59.9% -2.3%
runner_option.go 36.7% -0.8%

Reported by octocov

github-actions[bot] commented 4 months ago

BenchmarkManyRunbooks-4

main (-) #908 (3007fed) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 4,012,733,098 ns/op 3,811,978,462 ns/op -200,754,636 ns/op
Bytes allocated per iteration 1,792,612,872 B/op 1,792,346,392 B/op -266,480 B/op
Allocs per iteration 21,406,666 allocs/op 21,406,275 allocs/op -391 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#908](https://github.com/k1LoW/runn/pull/908) ([3007fed](https://github.com/k1LoW/runn/commit/3007fed8361acba662605df87a5e83302a2ecbcb)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #908 (3007fed) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,166,688,188 ns/op 5,208,911,838 ns/op 42,223,650 ns/op
Bytes allocated per iteration 2,945,223,624 B/op 2,945,823,088 B/op 599,464 B/op
Allocs per iteration 29,268,727 allocs/op 29,274,980 allocs/op 6,253 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#908](https://github.com/k1LoW/runn/pull/908) ([3007fed](https://github.com/k1LoW/runn/commit/3007fed8361acba662605df87a5e83302a2ecbcb)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #908 (3007fed) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 66,565,159 ns/op 67,361,520 ns/op 796,361 ns/op
Bytes allocated per iteration 60,307,915 B/op 60,297,262 B/op -10,653 B/op
Allocs per iteration 205,781 allocs/op 205,789 allocs/op 8 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#908](https://github.com/k1LoW/runn/pull/908) ([3007fed](https://github.com/k1LoW/runn/commit/3007fed8361acba662605df87a5e83302a2ecbcb)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (0f97e31) #908 (3007fed) +/-
Coverage 65.6% 65.4% -0.2%
Code to Test Ratio 1:0.5 1:0.5 -0.0
Details ``` diff | | main (0f97e31) | #908 (3007fed) | +/- | |--------------------|----------------|----------------|-------| - | Coverage | 65.6% | 65.4% | -0.2% | | Files | 71 | 71 | 0 | | Lines | 7685 | 7723 | +38 | + | Covered | 5041 | 5052 | +11 | - | Code to Test Ratio | 1:0.5 | 1:0.5 | -0.0 | | Code | 22370 | 22432 | +62 | | Test | 10483 | 10483 | 0 | ```

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

Files Coverage +/-
book.go 78.1% -0.1%
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 73.9% +1.0%
operator.go 79.5% +0.2%
option.go 59.9% -2.3%
runner_option.go 36.7% -0.8%

Reported by octocov