Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add StopAdjust and StopAll #55

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Add StopAdjust and StopAll #55

merged 1 commit into from
Mar 5, 2024

Conversation

k1LoW
Copy link
Member

@k1LoW k1LoW commented Mar 5, 2024

SSIA.

Copy link
Contributor

github-actions bot commented Mar 5, 2024

BenchmarkDiscCache1MBBody-4

main (-) #55 (87739f0) +/-
Number of iterations 1000 1000 0
Nanoseconds per iteration 1468893 ns/op 1401341 ns/op -67552 ns/op
Bytes allocated per iteration 7406766 B/op 7407218 B/op 452 B/op
Allocs per iteration 537 allocs/op 538 allocs/op 1 allocs/op
Metadata
main (-) #55 (87739f0)
goos linux linux
goarch amd64 amd64
pkg github.com/2manymws/rcutil github.com/2manymws/rcutil
cpu AMD EPYC 7763 64-Core Processor AMD EPYC 7763 64-Core Processor

BenchmarkEncodeDecode1MBBody-4

main (-) #55 (87739f0) +/-
Number of iterations 1000 1000 0
Nanoseconds per iteration 5006978 ns/op 5124968 ns/op 117990 ns/op
Bytes allocated per iteration 8425069 B/op 8425067 B/op -2 B/op
Allocs per iteration 332 allocs/op 332 allocs/op 0 allocs/op
Metadata
main (-) #55 (87739f0)
goos linux linux
goarch amd64 amd64
pkg github.com/2manymws/rcutil github.com/2manymws/rcutil
cpu AMD EPYC 7763 64-Core Processor AMD EPYC 7763 64-Core Processor

BenchmarkNGINXCache1MBBody-4

main (-) #55 (87739f0) +/-
Number of iterations 1000 1000 0
Nanoseconds per iteration 328516 ns/op 327036 ns/op -1480 ns/op
Bytes allocated per iteration 14228 B/op 14223 B/op -5 B/op
Allocs per iteration 90 allocs/op 90 allocs/op 0 allocs/op
Metadata
main (-) #55 (87739f0)
goos linux linux
goarch amd64 amd64
pkg github.com/2manymws/rcutil github.com/2manymws/rcutil
cpu AMD EPYC 7763 64-Core Processor AMD EPYC 7763 64-Core Processor

Reported by octocov

Copy link
Contributor

github-actions bot commented Mar 5, 2024

Code Metrics Report

main (d945825) #55 (87739f0) +/-
Coverage 76.4% 75.2% -1.2%
Code to Test Ratio 1:1.9 1:1.8 -0.0
Test Execution Time 45s 45s 0s
Details
  |                     | main (d945825) | #55 (87739f0) |  +/-  |
  |---------------------|----------------|---------------|-------|
- | Coverage            |          76.4% |         75.2% | -1.2% |
  |   Files             |              2 |             2 |     0 |
  |   Lines             |            233 |           238 |    +5 |
+ |   Covered           |            178 |           179 |    +1 |
- | Code to Test Ratio  |          1:1.9 |         1:1.8 |  -0.0 |
  |   Code              |            491 |           504 |   +13 |
  |   Test              |            922 |           922 |     0 |
  | Test Execution Time |            45s |           45s |    0s |

Code coverage of files in pull request scope (76.1% → 74.6%)

Files Coverage +/-
diskcache.go 74.6% -1.5%

Reported by octocov

@k1LoW k1LoW merged commit c644371 into main Mar 5, 2024
4 checks passed
@k1LoW k1LoW deleted the stop-adjust branch March 5, 2024 04:04
@github-actions github-actions bot mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant