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 test for bytes field #915

Closed k1LoW closed 4 months ago

k1LoW commented 4 months ago

SSIA.

github-actions[bot] commented 4 months ago

BenchmarkManyRunbooks-4

main (-) #915 (0173546) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,722,180,804 ns/op 3,701,504,748 ns/op -20,676,056 ns/op
Bytes allocated per iteration 1,792,894,384 B/op 1,792,426,656 B/op -467,728 B/op
Allocs per iteration 21,406,872 allocs/op 21,406,280 allocs/op -592 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([0173546](https://github.com/k1LoW/runn/commit/0173546c4812b80f8397a7aa7f066580d1339bb5)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #915 (0173546) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,222,766,060 ns/op 5,123,773,569 ns/op -98,992,491 ns/op
Bytes allocated per iteration 2,947,229,520 B/op 2,946,785,416 B/op -444,104 B/op
Allocs per iteration 29,310,015 allocs/op 29,307,942 allocs/op -2,073 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([0173546](https://github.com/k1LoW/runn/commit/0173546c4812b80f8397a7aa7f066580d1339bb5)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #915 (0173546) +/-
Number of iterations 16 18 2
Nanoseconds per iteration 64,698,911 ns/op 64,338,035 ns/op -360,876 ns/op
Bytes allocated per iteration 60,288,511 B/op 60,309,830 B/op 21,319 B/op
Allocs per iteration 205,775 allocs/op 205,789 allocs/op 14 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([0173546](https://github.com/k1LoW/runn/commit/0173546c4812b80f8397a7aa7f066580d1339bb5)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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

BenchmarkManyRunbooks-4

main (-) #915 (2dc26bb) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 4,016,897,245 ns/op 3,825,827,295 ns/op -191,069,950 ns/op
Bytes allocated per iteration 1,792,849,136 B/op 1,792,487,272 B/op -361,864 B/op
Allocs per iteration 21,417,965 allocs/op 21,418,212 allocs/op 247 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([2dc26bb](https://github.com/k1LoW/runn/commit/2dc26bbf2fa4c2d871bf2a5b48daf09766b003d2)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #915 (2dc26bb) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,048,306,970 ns/op 5,121,365,748 ns/op 73,058,778 ns/op
Bytes allocated per iteration 2,947,493,128 B/op 2,946,777,560 B/op -715,568 B/op
Allocs per iteration 29,310,798 allocs/op 29,308,627 allocs/op -2,171 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([2dc26bb](https://github.com/k1LoW/runn/commit/2dc26bbf2fa4c2d871bf2a5b48daf09766b003d2)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #915 (2dc26bb) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 66,413,676 ns/op 65,038,593 ns/op -1,375,083 ns/op
Bytes allocated per iteration 60,315,465 B/op 60,289,736 B/op -25,729 B/op
Allocs per iteration 205,885 allocs/op 205,878 allocs/op -7 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([2dc26bb](https://github.com/k1LoW/runn/commit/2dc26bbf2fa4c2d871bf2a5b48daf09766b003d2)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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

BenchmarkManyRunbooks-4

main (-) #915 (0b4a1aa) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,718,918,201 ns/op 3,877,370,258 ns/op 158,452,057 ns/op
Bytes allocated per iteration 1,792,454,520 B/op 1,792,461,200 B/op 6,680 B/op
Allocs per iteration 21,406,368 allocs/op 21,405,994 allocs/op -374 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([0b4a1aa](https://github.com/k1LoW/runn/commit/0b4a1aad6ba88aae321f7ba690c4c868dfe79c32)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #915 (0b4a1aa) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,122,981,012 ns/op 5,016,932,399 ns/op -106,048,613 ns/op
Bytes allocated per iteration 2,946,976,800 B/op 2,946,690,200 B/op -286,600 B/op
Allocs per iteration 29,308,122 allocs/op 29,307,472 allocs/op -650 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([0b4a1aa](https://github.com/k1LoW/runn/commit/0b4a1aad6ba88aae321f7ba690c4c868dfe79c32)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #915 (0b4a1aa) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 64,476,762 ns/op 72,059,337 ns/op 7,582,575 ns/op
Bytes allocated per iteration 60,309,008 B/op 60,309,769 B/op 761 B/op
Allocs per iteration 205,774 allocs/op 205,777 allocs/op 3 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#915](https://github.com/k1LoW/runn/pull/915) ([0b4a1aa](https://github.com/k1LoW/runn/commit/0b4a1aad6ba88aae321f7ba690c4c868dfe79c32)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (f080f5f) #915 (0b4a1aa) +/-
Coverage 65.6% 65.7% +0.0%
Code to Test Ratio 1:0.4 1:0.4 +0.0
Details ``` diff | | main (f080f5f) | #915 (0b4a1aa) | +/- | |--------------------|----------------|----------------|-------| + | Coverage | 65.6% | 65.7% | +0.0% | | Files | 71 | 71 | 0 | | Lines | 7702 | 7705 | +3 | + | Covered | 5055 | 5059 | +4 | + | Code to Test Ratio | 1:0.4 | 1:0.4 | +0.0 | | Code | 26098 | 26098 | 0 | + | Test | 10611 | 10621 | +10 | ```

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

Files Coverage +/-
testutil/grpc.go 89.2% +0.5%

Reported by octocov