k1LoW / runn

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

Propagate runn.kv / add tests #1008

Closed k1LoW closed 1 month ago

k1LoW commented 1 month ago

SSIA.

github-actions[bot] commented 1 month ago

BenchmarkManyRunbooks-4

main (-) #1008 (013d2a1) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,853,300,037 ns/op 3,826,238,670 ns/op -27,061,367 ns/op
Bytes allocated per iteration 1,785,920,016 B/op 1,785,921,744 B/op 1,728 B/op
Allocs per iteration 21,135,213 allocs/op 21,135,295 allocs/op 82 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#1008](https://github.com/k1LoW/runn/pull/1008) ([013d2a1](https://github.com/k1LoW/runn/commit/013d2a1693e39383b5531e2ed3b1f1fdd9d0e153)) | |------------|----------------------------------------------------:|--------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #1008 (013d2a1) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,646,887,122 ns/op 5,769,611,419 ns/op 122,724,297 ns/op
Bytes allocated per iteration 3,175,793,056 B/op 3,176,578,560 B/op 785,504 B/op
Allocs per iteration 32,659,867 allocs/op 32,667,392 allocs/op 7,525 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#1008](https://github.com/k1LoW/runn/pull/1008) ([013d2a1](https://github.com/k1LoW/runn/commit/013d2a1693e39383b5531e2ed3b1f1fdd9d0e153)) | |------------|----------------------------------------------------:|--------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #1008 (013d2a1) +/-
Number of iterations 16 19 3
Nanoseconds per iteration 67,702,657 ns/op 64,828,222 ns/op -2,874,435 ns/op
Bytes allocated per iteration 60,146,495 B/op 60,134,722 B/op -11,773 B/op
Allocs per iteration 205,440 allocs/op 205,412 allocs/op -28 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#1008](https://github.com/k1LoW/runn/pull/1008) ([013d2a1](https://github.com/k1LoW/runn/commit/013d2a1693e39383b5531e2ed3b1f1fdd9d0e153)) | |------------|----------------------------------------------------:|--------------------------------------------------------------------------------------------------------------------------------------------:| | **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 1 month ago

Code Metrics Report

main (1ccc396) #1008 (013d2a1) +/-
Coverage 64.5% 64.4% -0.1%
Code to Test Ratio 1:0.7 1:0.7 +0.0
Test Execution Time 5m28s 5m36s +8s
Details ``` diff | | main (1ccc396) | #1008 (013d2a1) | +/- | |---------------------|----------------|-----------------|-------| - | Coverage | 64.5% | 64.4% | -0.1% | | Files | 78 | 78 | 0 | | Lines | 8665 | 8665 | 0 | - | Covered | 5590 | 5588 | -2 | + | Code to Test Ratio | 1:0.7 | 1:0.7 | +0.0 | | Code | 15934 | 15934 | 0 | + | Test | 11608 | 11609 | +1 | - | Test Execution Time | 5m28s | 5m36s | +8s | ```

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

Files Coverage +/-
include.go 91.0% 0.0%
operator.go 80.6% -0.1%

Reported by octocov