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

Set the number of CPUs to worker_processs #30

Merged
merged 2 commits into from
Oct 13, 2023
Merged

Conversation

k1LoW
Copy link
Member

@k1LoW k1LoW commented Oct 13, 2023

SSIA

@k1LoW k1LoW self-assigned this Oct 13, 2023
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Code Metrics Report

main (1794b9f) #30 (ca90efa) +/-
Coverage 57.6% 57.6% 0.0%
Code to Test Ratio 1:3.1 1:3.1 +0.0
Test Execution Time 1m1s 58s -3s
Details
  |                     | main (1794b9f) | #30 (ca90efa) | +/-  |
  |---------------------|----------------|---------------|------|
  | Coverage            |          57.6% |         57.6% | 0.0% |
  |   Files             |              5 |             5 |    0 |
  |   Lines             |            170 |           170 |    0 |
  |   Covered           |             98 |            98 |    0 |
+ | Code to Test Ratio  |          1:3.1 |         1:3.1 | +0.0 |
  |   Code              |            185 |           185 |    0 |
+ |   Test              |            573 |           575 |   +2 |
+ | Test Execution Time |           1m1s |           58s |  -3s |

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

Files Coverage +/-
testutil/container.go 73.7% 0.0%

Reported by octocov

@github-actions
Copy link
Contributor

BenchmarkNGINX-2

main (-) #30 (ca90efa) +/-
Number of iterations 10000 10000 0
Nanoseconds per iteration 662914 ns/op 668692 ns/op 5778 ns/op
Bytes allocated per iteration 17607 B/op 17652 B/op 45 B/op
Allocs per iteration 136 allocs/op 138 allocs/op 2 allocs/op
Metadata
main (-) #30 (ca90efa)
goos linux linux
goarch amd64 amd64
pkg github.com/k1LoW/rp github.com/k1LoW/rp
cpu Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz

BenchmarkRP-2

main (-) #30 (ca90efa) +/-
Number of iterations 10000 10000 0
Nanoseconds per iteration 373651 ns/op 359642 ns/op -14009 ns/op
Bytes allocated per iteration 63809 B/op 63807 B/op -2 B/op
Allocs per iteration 187 allocs/op 187 allocs/op 0 allocs/op
Metadata
main (-) #30 (ca90efa)
goos linux linux
goarch amd64 amd64
pkg github.com/k1LoW/rp github.com/k1LoW/rp
cpu Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz

Reported by octocov

@k1LoW k1LoW merged commit 5f2e8fc into main Oct 13, 2023
4 checks passed
@k1LoW k1LoW deleted the set-worker-processes branch October 13, 2023 12:10
@github-actions github-actions bot mentioned this pull request Oct 13, 2023
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.

None yet

1 participant