k1LoW / runn

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

Add lock for globalOpenAPI3DocRegistory #891

Closed k1LoW closed 6 months ago

k1LoW commented 6 months ago

SSIA.

github-actions[bot] commented 6 months ago

BenchmarkManyRunbooks-4

main (-) #891 (23f7929) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,913,220,529 ns/op 3,657,851,677 ns/op -255,368,852 ns/op
Bytes allocated per iteration 1,792,501,656 B/op 1,792,485,920 B/op -15,736 B/op
Allocs per iteration 21,418,585 allocs/op 21,419,134 allocs/op 549 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#891](https://github.com/k1LoW/runn/pull/891) ([23f7929](https://github.com/k1LoW/runn/commit/23f7929b594a0819e91fd3da6e7c4779c66b6283)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #891 (23f7929) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,295,968,068 ns/op 5,495,368,593 ns/op 199,400,525 ns/op
Bytes allocated per iteration 3,229,966,400 B/op 3,230,149,304 B/op 182,904 B/op
Allocs per iteration 31,108,880 allocs/op 31,110,287 allocs/op 1,407 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#891](https://github.com/k1LoW/runn/pull/891) ([23f7929](https://github.com/k1LoW/runn/commit/23f7929b594a0819e91fd3da6e7c4779c66b6283)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #891 (23f7929) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 63,430,031 ns/op 62,934,226 ns/op -495,805 ns/op
Bytes allocated per iteration 60,315,055 B/op 60,311,768 B/op -3,287 B/op
Allocs per iteration 205,868 allocs/op 205,876 allocs/op 8 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#891](https://github.com/k1LoW/runn/pull/891) ([23f7929](https://github.com/k1LoW/runn/commit/23f7929b594a0819e91fd3da6e7c4779c66b6283)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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) #891 (23f7929) +/-
Coverage 65.9% 65.9% +0.0%
Code to Test Ratio 1:0.8 1:0.8 -0.0
Details ``` diff | | main (7c7f8e2) | #891 (23f7929) | +/- | |--------------------|----------------|----------------|-------| + | Coverage | 65.9% | 65.9% | +0.0% | | Files | 71 | 71 | 0 | | Lines | 7606 | 7612 | +6 | + | Covered | 5011 | 5017 | +6 | - | Code to Test Ratio | 1:0.8 | 1:0.8 | -0.0 | | Code | 22236 | 22244 | +8 | | Test | 18552 | 18552 | 0 | ```

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

Files Coverage +/-
http_validator.go 81.9% +0.8%

Reported by octocov