Add yaml output for perf tool and a tool for comparing two performance results #547
ci.yml
on: pull_request
detect-noop
8s
lint
4m 11s
check-diff
2m 42s
unit-tests
3m 56s
publish-artifacts
9m 39s
Annotations
7 errors and 8 warnings
lint:
cmd/perf/internal/common/common.go#L117
preferFprint: suggestion: fmt.Fprintf(b, "Pod: %s\n", r.PodName) (gocritic)
|
lint:
cmd/perf/internal/common/common.go#L119
preferFprint: suggestion: fmt.Fprintf(b, "average_%s: %f\n", yamlTag, r.Average) (gocritic)
|
lint:
cmd/perf/internal/common/common.go#L120
preferFprint: suggestion: fmt.Fprintf(b, "peak_%s: %f\n", yamlTag, r.Peak) (gocritic)
|
lint:
cmd/perf/internal/quantify.go#L114
cyclomatic complexity 14 of func `(*QuantifyOptions).processPods` is high (> 10) (gocyclo)
|
lint:
cmd/perfcompare/main.go#L49
G304: Potential file inclusion via variable (gosec)
|
lint:
cmd/perf/internal/common/common.go#L115
`b` can be `io.StringWriter` (interfacer)
|
lint
issues found
|
detect-noop
The following actions use a deprecated Node.js version and will be forced to run on node20: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check-diff
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
unit-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
cmd/perfcompare/main.go#L1
package-comments: should have a package comment (revive)
|
lint:
cmd/perfcompare/main.go#L12
exported: exported type ApplicationPerformance should have comment or be unexported (revive)
|
publish-artifacts
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7, docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55, actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "output".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
output
Expired
|
520 MB |
|