vearutop / plt

⏱️ Pocket load tester
MIT License
50 stars 4 forks source link

Update deps and CI #36

Closed vearutop closed 2 months ago

github-actions[bot] commented 2 months ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 16 2041 (+27) 1591 (+14) 65 (+2) 385 (+11) 277 (+6) 52.8K (+487B)
YAML 8 594 (-1) 497 (-2) 43 54 (+1) 0 19.9K (-79B)
github-actions[bot] commented 2 months ago

Go API Changes

# github.com/vearutop/plt/nethttp
## compatible changes
Flags.IgnoreResponseBody: added

# summary
Inferred base version: v0.3.11
Suggested version: v0.4.0
github-actions[bot] commented 2 months ago

Unit Test Coverage

total: (statements) 42.6% changed lines: (statements) 24.7%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines | File | Function | Coverage | |------------------------|----------------|-------------| | Total | | 24.7% | | curl/cmd.go | | 0.0% | | curl/cmd.go:21 | AddCommand | 0.0% | | loadgen/run.go | | 45.5% | | loadgen/run.go:58 | Run | 100.0% | | loadgen/run.go:233 | captureLiveUI | 0.0% | | nethttp/job.go | | 70.8% | | nethttp/job.go:290 | Job | 92.6% | | nethttp/job.go:145 | makeTransport2 | 0.0% | | s3/cmd.go | | 0.0% | | s3/cmd.go:25 | AddCommand | 0.0% | | _examples/cplt/cplt.go | | no coverage |
Coverage diff with base branch | File | Function | Base Coverage | Current Coverage | |----------------|----------|---------------|------------------| | Total | | 42.7% | 42.6% (-0.1%) | | loadgen/run.go | Run | 69.4% | 68.6% (-0.8%) | | nethttp/job.go | Job | 73.3% | 74.6% (+1.3%) |
github-actions[bot] commented 2 months ago

Benchmark Result

Benchmark diff with base branch ``` name old time/op new time/op delta pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-4 13.4µs ± 1% 13.7µs ± 2% ~ (p=0.056 n=5+5) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-4 1.00ms ± 0% 1.00ms ± 0% ~ (p=0.589 n=6+6) name old alloc/op new alloc/op delta pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-4 1.89kB ± 0% 1.90kB ± 0% ~ (p=0.634 n=6+6) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-4 6.50kB ± 0% 6.53kB ± 1% ~ (p=0.091 n=5+6) name old allocs/op new allocs/op delta pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-4 25.0 ± 0% 25.0 ± 0% ~ (all equal) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-4 91.3 ± 1% 91.5 ± 1% ~ (p=1.000 n=6+6) ```
Benchmark result ``` name time/op pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-4 13.7µs ± 2% pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-4 1.00ms ± 0% name alloc/op pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-4 1.90kB ± 0% pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-4 6.53kB ± 1% name allocs/op pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-4 25.0 ± 0% pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-4 91.5 ± 1% ```
codecov-commenter commented 2 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 23.80952% with 16 lines in your changes missing coverage. Please review.

Project coverage is 35.67%. Comparing base (4ab54ab) to head (e36184a).

Files with missing lines Patch % Lines
curl/cmd.go 0.00% 9 Missing :warning:
nethttp/job.go 50.00% 2 Missing and 3 partials :warning:
loadgen/run.go 0.00% 1 Missing :warning:
s3/cmd.go 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #36 +/- ## ========================================== - Coverage 35.86% 35.67% -0.20% ========================================== Files 11 11 Lines 803 813 +10 ========================================== + Hits 288 290 +2 - Misses 473 481 +8 Partials 42 42 ``` | [Flag](https://app.codecov.io/gh/vearutop/plt/pull/36/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Viacheslav+Poturaev) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/vearutop/plt/pull/36/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Viacheslav+Poturaev) | `35.67% <23.80%> (-0.20%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Viacheslav+Poturaev#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.