vearutop / plt

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

Add S3 upload mode #25

Closed vearutop closed 2 years ago

github-actions[bot] commented 2 years ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 14 1981 (+50) 1560 (+40) 58 363 (+10) 255 (+13) 51.8K (+888B)
Markdown 1 243 (+2) 194 (+2) 0 49 0 9.2K (+169B)
YAML 8 (+1) 539 (+17) 465 (+11) 43 (+5) 31 (+1) 0 17.9K (+688B)
github-actions[bot] commented 2 years ago

Unit Test Coverage

total: (statements) 55.0%

Coverage diff with base branch ```diff ```
codecov-commenter commented 2 years ago

Codecov Report

Merging #25 (46d9d62) into master (9bdbfe2) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #25   +/-   ##
=======================================
  Coverage   48.07%   48.07%           
=======================================
  Files           7        7           
  Lines         597      597           
=======================================
  Hits          287      287           
  Misses        268      268           
  Partials       42       42           
Flag Coverage Δ
unittests 48.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9bdbfe2...46d9d62. Read the comment docs.

github-actions[bot] commented 2 years ago

Go API Changes

# github.com/vearutop/plt/s3
## compatible changes
Flags.Upload: added

# summary
Inferred base version: v0.3.3
Suggested version: v0.4.0
github-actions[bot] commented 2 years 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 20.0µs ± 2% 20.2µs ± 2% ~ (p=0.111 n=5+5) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 1.00ms ± 0% 1.00ms ± 0% ~ (p=0.841 n=5+5) name old alloc/op new alloc/op delta pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 1.83kB ± 0% 1.84kB ± 1% +0.25% (p=0.016 n=4+5) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 5.91kB ± 0% 5.91kB ± 1% ~ (p=0.730 n=5+5) name old allocs/op new allocs/op delta pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 26.0 ± 0% 26.0 ± 0% ~ (all equal) pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 87.0 ± 0% 87.0 ± 0% ~ (all equal) ```
Benchmark result ``` name time/op pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 20.2µ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.84kB ± 1% pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 5.91kB ± 1% name allocs/op pkg:github.com/vearutop/plt/fasthttp goos:linux goarch:amd64 JobProducer_Job-2 26.0 ± 0% pkg:github.com/vearutop/plt/nethttp goos:linux goarch:amd64 JobProducer_Job-2 87.0 ± 0% ```