vearutop / plt

⏱️ Pocket load tester
MIT License
48 stars 3 forks source link

Enable http3 for go1.20+, update deps #32

Closed vearutop closed 1 year ago

github-actions[bot] commented 1 year ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 17 (+1) 2025 (+12) 1582 (+6) 65 (+2) 378 (+4) 271 52.5K (+202B)
Makefile 1 44 32 4 8 2 1.3K (+1B)
Markdown 1 243 194 0 49 0 9.3K (+94B)
YAML 8 593 (+9) 497 43 53 (+9) 0 19.9K (+346B)
github-actions[bot] commented 1 year ago

Go API Changes

# github.com/vearutop/plt/nethttp
## incompatible changes
HTTP3Available: value changed from false to true

# summary
Inferred base version: v0.3.8
Suggested version: v0.4.0
github-actions[bot] commented 1 year 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-2 19.0µs ±10% 18.7µs ± 2% ~ (p=0.931 n=6+5) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 1.00ms ± 0% 1.00ms ± 0% ~ (p=0.240 n=6+6) name old alloc/op new alloc/op delta pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 1.82kB ± 0% 1.82kB ± 0% ~ (p=0.530 n=6+6) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 5.75kB ± 0% 5.76kB ± 0% ~ (p=0.264 n=6+6) name old allocs/op new allocs/op delta pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 25.0 ± 0% 25.0 ± 0% ~ (all equal) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 85.0 ± 0% 85.0 ± 0% ~ (all equal) ```
Benchmark result ``` name time/op pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 18.7µs ± 2% pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 1.00ms ± 0% name alloc/op pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 1.82kB ± 0% pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 5.76kB ± 0% name allocs/op pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 25.0 ± 0% pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 85.0 ± 0% ```
github-actions[bot] commented 1 year ago

Unit Test Coverage

total: (statements) 54.8%

Coverage of changed lines No changes in testable statements.
Coverage diff with base branch | File | Function | Base Coverage | Current Coverage | |-------------------------------------------------|----------------|---------------|------------------| | Total | | 54.8% | 54.8% (0.0%) | | github.com/vearutop/plt/nethttp/http3.go | makeTransport3 | no function | 0.0% | | github.com/vearutop/plt/nethttp/http3_go1.20.go | makeTransport3 | 0.0% | no function |
codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (d69bde0) 47.91% compared to head (14f43e2) 47.91%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #32 +/- ## ======================================= Coverage 47.91% 47.91% ======================================= Files 8 8 Lines 599 599 ======================================= Hits 287 287 Misses 270 270 Partials 42 42 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `47.91% <ø> (ø)` | | 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. | [Impacted Files](https://app.codecov.io/gh/vearutop/plt/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Viacheslav+Poturaev) | Coverage Δ | | |---|---|---| | [nethttp/http3.go](https://app.codecov.io/gh/vearutop/plt/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Viacheslav+Poturaev#diff-bmV0aHR0cC9odHRwMy5nbw==) | `0.00% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.